CreateLightNode

Creates a new light node as a child of the selection or as a child of the active parent. If the selection is empty or no active parent can be found, the light is created as a child of the root node. If you have four groups selected, this command creates a new light node beneath each selected group.

Using This Command

Select a group or level-of-detail node and apply the command.

  1. Select a group or level-of-detail node.
  2. Right click and choose Create » Light from the listed options.
  3. The software adds a light node to the scene graph.
  4. If you select multiple groups this command places a new group beneath each group in the selection.

Figures

Figures are as follows:

Figure 1.1. Before creating a light: Creating A New Light Node Figure 1.2. After creating a light. The light is placed as the first child in the list of siblings. This is done because lights only affect nodes immediately below them in the hierarchy. Creating A New Light Node

Registration

Command registration information is as follows:

Category TypeInformation
ImplementationSCRIPT
ModuleCREATE_SCRIPTS.SSL
CategoryCreate Commands
GUID{1F91F917-F612-46D4-A453-4B81096121A9}
Source NameCreateLightNode
Interface NameLight Node
CoreNo
SampleYes
AccessCreate option on main menu or Create option on [root/group/level-of-detail] command menu.

See Also

For more information: