Applications use the methods of the Direct3DRMLightArray interface to organize light objects. The light array is zero based (0 to N-1).
The Direct3DRMLightArray interface supports the following methods.
Obtain the Direct3DRMLightArray object by calling the Direct3DRMFrame3.GetLights method.
Retrieves a specified element in a Direct3DRMLightArray object.
Syntax
object.GetElement(index As Long) As Direct3DRMLight
Parts
- object
- Object expression that resolves to a Direct3DRMLightArray object.
- index
- Element in the array.
Return Value
Returns a Direct3DRMLight object.
Error Values
For a list of possible errors, see Direct3D Retained Mode Error Values.
Retrieves the number of elements contained in a Direct3DRMLightArray object.
Syntax
object.GetSize( ) As Long
Parts
- object
- Object expression that resolves to a Direct3DRMLightArray object.
Return Value
Returns the number of elements.
Error Values
For a list of possible errors, see Direct3D Retained Mode Error Values.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.