vrdSpotLightNode¶
-
class
vrdSpotLightNode
¶
(Inherits vrdPointLightNode
)
This class gives access to the properties of a spot light source.
Summary¶
Functions¶
-
vrdSpotLightNode.
getConeAngle
()¶ Returns the light beam’s angle from center to the edge, measured in degrees.
Returns: Cone angle Return type: float
-
vrdSpotLightNode.
getPenumbraAngle
()¶ Returns the light edge’s falloff in degrees.
Returns: Penumbra angle Return type: float
-
vrdSpotLightNode.
setConeAngle
(angle)¶ Sets the light beam’s angle from center to the edge, measured in degrees.
Parameters: angle (float) – Cone angle
-
vrdSpotLightNode.
setPenumbraAngle
(angle)¶ Sets the light edge’s falloff in degrees.
Parameters: angle (float) – Penumbra angle