LightsCollection.Item Property (Microsoft.DirectX.Direct3D)

Retrieves a specific Light object within the LightsCollection.

Definition

Visual Basic Public ReadOnly Property Item( _
    ByVal index As Integer _
) As Light
C# public Light this[
    int index
] { get; }
C++ public:
property Light^ default [int] {
        Light^ get(int index);
}
JScript In JScript, you can use indexed properties, but you cannot define your own.

Parameters

index System.Int32
Index value of the light to retrieve.

Property Value

Microsoft.DirectX.Direct3D.Light
The Light object at the given index.

This property is read-only.