![]() ![]() Methods inherited from class ĬloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable Methods inherited from class ĪddScope, getAllScopes, getColor, getEnable, getInfluencingBoundingLeaf, getInfluencingBounds, getScope, indexOfScope, insertScope, numScopes, removeAllScopes, removeScope, removeScope, setColor, setEnable, setInfluencingBoundingLeaf, setInfluencingBounds, setScope, updateNodeReferences GetAttenuation, getPosition, setAttenuation, setAttenuation, setPosition, setPosition Sets this Light's current direction and places it in the parameter specified. Gets this Light's current direction and places it in the parameter specified. Used to create a new instance of the node. SpotLight(Color3f color, Point3f position, Point3f attenuation, Vector3f direction, float spreadAngle, float concentration) SpotLight(boolean lightOn, Color3f color, Point3f position, Point3f attenuation, Vector3f direction, float spreadAngle, float concentration)Ĭonstructs and initializes a SpotLight node using the specified parameters. Specifies that the Node allows writing to its spot lights spread angle information.įields inherited from class ĪLLOW_ATTENUATION_READ, ALLOW_ATTENUATION_WRITE, ALLOW_POSITION_READ, ALLOW_POSITION_WRITEįields inherited from class ĪLLOW_COLOR_READ, ALLOW_COLOR_WRITE, ALLOW_INFLUENCING_BOUNDS_READ, ALLOW_INFLUENCING_BOUNDS_WRITE, ALLOW_SCOPE_READ, ALLOW_SCOPE_WRITE, ALLOW_STATE_READ, ALLOW_STATE_WRITEįields inherited from class ĪLLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTINGĬonstructs a SpotLight node with default parameters. Specifies that the Node allows reading its spot lights spread angle information. Specifies that the Node allows writing to its spot lights direction information. Specifies that the Node allows reading its spot lights direction information. Specifies that the Node allows writing to its spot lights concentration information. Specifies that the Node allows reading its spot lights concentration information. A spot light does not contribute to ambient reflections. The default concentration is 0.0, which provides uniform light distribution.Ī spot light contributes to diffuse and specular reflections, which depend on the orientation and position of an object's surface. The higher the concentration value, the more focused the light source. The light's intensity is highest at the center of the cone and is attenuated toward the edges of the cone by the cosine of the angle between the direction of the light and the direction from the light to the object being lit, raised to the power of the spot concentration exponent.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |