![]() |
CNiLights | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Class |
Declared in: NiLights.h |
Overview
CNiLights encapsulates the Lights property of a CNiGraph3D object. It provides access to the individual lights.
Use the Item function to get a particular light object and the Count property to retrieve the number of lights in the graph.
Note: Currently, there are always four lights associated with a 3D graph.
Base Classes
Data Items
![]() |
short | Count | Returns the number of lights in the collection. |
Constructors
![]() |
Default constructor. | ||
![]() |
CNiLights( CWLights_CI* pCustom, CNiInterface::ThreadAccess option ) |
Constructor that attaches to the specified CWLights_CI pointer. | |
![]() |
CNiLights( const CNiLights& source ) |
Copy constructor. |
Destructors
Functions
![]() |
static const IID & | GetIid() |
Returns the globally unique identifier (GUID) of the ActiveX interface to which this class connects. |
![]() |
CNiLight | Item( long lightIndex ) |
Returns the specified light from the current collection of lights. |
![]() |
const CNiLights & | Assignment operator. |