UnsafeNativeMethods.Plane.TransformArray(Plane,Int32,Plane,Int32,Matrix,Int32) Method (Microsoft.DirectX)

Transforms an array of planes by a matrix. The vectors that describe each plane must be normalized.

Note: For programming in Microsoft Visual Basic .NET or Microsoft JScript .NET, use the equivalent method in the Microsoft.DirectX structures.

Definition

Visual Basic Public Shared Function TransformArray( _
    ByVal pOut As Plane, _
    ByVal outStride As Integer, _
    ByVal pPlane As Plane, _
    ByVal vectorStride As Integer, _
    ByVal pMatrix As Matrix, _
    ByVal count As Integer _
) As Plane
C# public static Plane TransformArray(
    Plane pOut,
    int outStride,
    Plane pPlane,
    int vectorStride,
    Matrix pMatrix,
    int count
);
C++ public:
static Plane TransformArray(
    Plane pOut,
    int outStride,
    Plane pPlane,
    int vectorStride,
    Matrix pMatrix,
    int count
);
JScript public static function TransformArray(
    pOut : Plane,
    outStride : int,
    pPlane : Plane,
    vectorStride : int,
    pMatrix : Matrix,
    count : int
) : Plane;

Parameters

pOut Microsoft.DirectX.Plane
A Plane structure that represents the transformed plane.
outStride System.Int32
The stride of each transformed plane.
pPlane Microsoft.DirectX.Plane
Input Plane structure, which contains the plane to be transformed. The vector (a,b,c) that describes the plane must be normalized before this method is called.
vectorStride System.Int32
The stride of each non-transformed plane.
pMatrix Microsoft.DirectX.Matrix
Source Matrix structure, which contains the transformation values. This matrix must contain the inverse transpose of the transformation values.
count System.Int32
The number of planes to transform.

Return Value

Microsoft.DirectX.Plane
A Plane structure that represents the transformed plane.

Remarks

The input matrix is the inverse transpose of the actual transformation.

The return value for this method is the same value returned in the pOut parameter. This allows you to use the TransformArray method as a parameter for another method.

See Also