| Package com.ms.com.directX |
Previous |
Microsoft Packages |
Index |
Next |
Applications use the methods of the d3drmLightArray class to organize light objects.
public class d3drmLightArray implements Id3drmLightArray
{
public void InternalSetObject(IUnknown lpdd);
public IUnknown InternalGetObject();
public int GetSize();
public d3drmLight GetElement(int index);
}
There are the following methods:
| GetElement | GetSize |
The d3drmLightArray object is obtained by calling the GetLights method.
public d3drmLight GetElement(int index);Retrieves one of the d3drmLight objects associated with this object.
Return Value:
Returns the d3drmLight object if successful, or null otherwise.
Parameter Description index Index that identifies the object to return. Must be a value between 0 and one less than the number returned by the GetSize method.
public int GetSize();Retrieves the number of d3drmLight objects associated with this object.
Return Value:
Returns the number of objects.
| © 1997 Microsoft Corporation. All rights reserved. Terms of Use. |