vrdDeltaLightNode¶
-
class
vrdDeltaLightNode
¶
(Inherits vrdBaseLightNode
)
This is the base class for all delta light types.
Derived light types are vrdPointLightNode, vrdSpotLightNode and vrdDirectionalLightNode.
Summary¶
Functions¶
-
vrdDeltaLightNode.
getIlluminateScene
()¶ Returns whether the light illuminates the scene.
If set to false the light will add nothing to the scene. Lens flares are still active.
Returns: True if the light illuminates the scene, False otherwise. Return type: bool
-
vrdDeltaLightNode.
getLocalLight
()¶ Returns if this light is a local light.
If this is enabled and the light is part of a light link set, only the nodes in the light link set will be illuminated.
Returns: True if this light is a local light, False otherwise. Return type: bool
-
vrdDeltaLightNode.
getShadowMap
()¶ Returns the shadow map of the light source.
Returns: The shadow map. Return type: vrdShadowMap
-
vrdDeltaLightNode.
getVisualizationScale
()¶ Returns the scale of the light visualization.
Returns: The visualization scale. Return type: float
-
vrdDeltaLightNode.
setIlluminateScene
(illuminateScene)¶ Sets whether the light source illuminates the scene.
If set to false the light will add nothing to the scene. Lens flares are still active.
Parameters: illuminateScene (bool) – True to let the light illuminate the scene, False otherwise.
-
vrdDeltaLightNode.
setLocalLight
(isLocalLight)¶ Sets the local light flag.
If this is enabled and the light is part of a light link set, only the nodes in the light link set will be illuminated.
Parameters: isLocalLight (bool) – True to make this light a local light, False otherwise.
-
vrdDeltaLightNode.
setVisualizationScale
(scale)¶ Sets the scale of the light visualization.
Parameters: scale (float) – The visualization scale