vrdLightLinkSetNode¶
-
class
vrdLightLinkSetNode
¶
(Inherits vrdNode
)
Class for light links defining local lighting.
Light links hold sets of lights and sets of nodes from the scene graph. If a light is in a light link set and has Local Lighting selected, it only illuminates all scene nodes in the light link set, nothing else in the scene.
Summary¶
Functions¶
-
vrdLightLinkSetNode.
addNode
(node)¶ Add a node to the light link set.
The vrdLightLinkSetNode will internally sort the added nodes in two groups: lights and scene nodes, depending on their type.
Parameters: node (vrdNode) – The node to add.
-
vrdLightLinkSetNode.
addNodes
(nodes)¶ Adds a list of nodes to the light link set.
See vrdLightLinkSetNode.addNode(node): the nodes can be either lights or scene node. They will be internally sorted by type.
Parameters: nodes (List[vrdNode]) – The list of nodes to add.
-
vrdLightLinkSetNode.
clearLightNodes
()¶ Removes all lights from the light link set.
-
vrdLightLinkSetNode.
clearSceneNodes
()¶ Removes all scene nodes from the light link set.
-
vrdLightLinkSetNode.
getLightNodes
()¶ Returns a list with the lights contained in the light link set.
Returns: The light nodes. Return type: List[vrdNode]
-
vrdLightLinkSetNode.
getSceneNodes
()¶ Returns a list with the scene nodes from the light link set.
Returns: The scene nodes. Return type: List[vrdNode]