vrdLightTransform¶
-
class
vrdLightTransform
¶
(Inherits vrdSceneObject
)
This class is used to change or propagate the transformation of a light.
Summary¶
Functions¶
-
vrdLightTransform.
applyToCamera
(cameraNode)¶ Set the camera to the world transformation of the light.
Parameters: cameraNode (vrdCameraNode) – The camera node to which the global transformation is copied.
-
vrdLightTransform.
setFromCamera
(cameraNode)¶ Set the light to the world transformation of the camera.
Parameters: cameraNode (vrdCameraNode) – The camera node from which the global transformation is copied.