SoDirectionalLightManipReplaceManip Method |
Replaces the tail of the path, which must be this manipulator, with the given OIV.Inventor.Nodes.SoDirectionalLight node.
Namespace: OIV.Inventor.Manips
If the path has a nodekit, this will try to use setPart() to insert the new node. Otherwise, the manipulator requires that the next to last node in the path chain be a group.
The field values from the manipulator will be copied to the directional light node, and the manipulator will be replaced.
The manipulator will not make any changes to field connections. The calling process is thus responsible for keeping track of its own nodes and field connections.