All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

RenderingLights (Collection)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---Collection
          |
          +---RenderingLights
 


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.
Remove
Removes a light from the lights collection.
RemoveAll
Removes all lights from the collection.

Methods


o Func Add() As CATIARenderingLight
Adds a new light to the lights collection.
o Func Item(CATVariant iIndex) As CATIARenderingLight
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)
 
o Sub Remove(CATVariant iIndex)
Removes a light from the lights collection.
o Sub RemoveAll()
Removes all lights from the collection.

Copyright © 2003, Dassault Systèmes. All rights reserved.