C3DLight::SetRange |
Top Previous Next |
Syntax:
SetRange(float range)
Purpose: Sets the range property of a spot or point light source.
Parameters: range - The new range. Returned value(s): None
Application: light.SetRange(500.0)
Class Hierarchy -------C3DLight
Additional Info: A light's range property determines the distance, in world space, at which meshes in a scene no longer receive light emitted by that object. The range parameter contains a floating-point value that represents the light's maximum range, in world space. Directional lights don't use the range property.
See Also: |