CATRscInterfaces RenderingLights (Collection)
All Frameworks Object Hierarchy This Framework Indexes
RenderingLights (Collection)
A collection of all the Rendering Lights objects.
Method Index
-
Add
- Adds a new light to the lights collection.
-
Item
- Returns a rendering light index in the rendering light collection.
-
RemoveAll
- Removes all lights from the collection.
-
Remove
- Removes a light from the lights collection.
Methods
-
Adds a new light to the lights collection.
-
Returns a rendering light index in the rendering light collection.
- Parameters:
-
- iIndex
- The index of the light to retrieve in the collection of lights.
Compared with other collections, you cannot use the name of the
light as argument.
- Returns:
- The retrieved light
- Example:
-
The following example returns in MyLight the sixth
light in a lights collection.
Dim MyLight As RenderingLight
Set MyLight = RenderingLights.Item(6)
-
Removes all lights from the collection.
-
Removes a light from the lights collection.
Copyright © 2003, Dassault Systèmes. All rights reserved.