CNiLights

3D Graph

Class CNiLights Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: operator =Next page: Count    
Class Declared in:
NiLights.h

'Overview' icon -- Shortcut to top of page. 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.

Hierarchy Chart Hierarchy Chart

'Base Classes' icon -- Shortcut to top of page. Base Classes

'Data Items' icon -- Shortcut to top of page. Data Items

Public data short Count Returns the number of lights in the collection.

'Constructors' icon -- Shortcut to top of page. Constructors

Public constructor

CNiLights()

Default constructor.
Public constructor

CNiLights( CWLights_CI* pCustom, CNiInterface::ThreadAccess option )

Constructor that attaches to the specified CWLights_CI pointer.
Public constructor

CNiLights( const CNiLights& source )

Copy constructor.

'Destructors' icon -- Shortcut to top of page. Destructors

Public destructor

~CNiLights()

Destructor.

'Functions' icon -- Shortcut to top of page. Functions

Public function static const IID &

GetIid()

Returns the globally unique identifier (GUID) of the ActiveX interface to which this class connects.
Public function CNiLight

Item( long lightIndex )

Returns the specified light from the current collection of lights.
Public function const CNiLights &

operator =( const CNiLights& source )

Assignment operator.