Partager via


ClipPlanes.Item Property (Microsoft.DirectX.Direct3D)

Retrieves the ClipPlane object referenced by index.

Definition

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

Parameters

index System.Int32
Index of the ClipPlane to retrieve.

Property Value

Microsoft.DirectX.Direct3D.ClipPlane
The ClipPlane referenced by index.

This property is read-only. 

Remarks

The maximum number of clipping planes is 32.

Exceptions

ArgumentOutOfRangeExceptionLeave Site

The index parameter is out of range. It must be a value between 0 and 31.