Share via


LightsCollection Class (Microsoft.DirectX.Direct3D)

Defines a collection of lights.

Definition

Visual Basic NotInheritable Public Class LightsCollection
    Inherits ObjectLeave Site
    Implements IEnumerableLeave Site, IEnumeratorLeave Site
C# public sealed class LightsCollection : ObjectLeave Site, IEnumerableLeave Site, IEnumeratorLeave Site
C++ public ref class LightsCollection sealed : ObjectLeave Site, IEnumerableLeave Site, IEnumeratorLeave Site
JScript public final class LightsCollection extends ObjectLeave Site implements IEnumerableLeave Site, IEnumeratorLeave Site

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
GetEnumerator Returns an enumerator that can iterate through the LightsCollection.
MoveNext Advances the enumerator to the next light.
Reset Resets the current enumerator to point to the head of the queue.

Properties

Property Description
Count Retrieves the number of Light objects in the LightsCollection.
Current Retrieves the current Light object in the LightsCollection.
Item Retrieves a specific Light object within the LightsCollection.

Inheritance Hierarchy

ObjectLeave Site

LightsCollection

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492