LightsCollection.Item Property (Microsoft.DirectX.Direct3D)

Retrieves a specific Light object within the LightsCollection.


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.


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

Property Value

The Light object at the given index.

This property is read-only.