UnsafeNativeMethods.Plane.Transform(Plane,Plane,Matrix) Method (Microsoft.DirectX)
Transforms a plane by a matrix.
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 Transform( _
ByVal pOut As Plane, _
ByVal pPlane As Plane, _
ByVal pMatrix As Matrix _
) As PlaneC# public static Plane Transform(
Plane pOut,
Plane pPlane,
Matrix pMatrix
);C++ public:
static Plane Transform(
Plane pOut,
Plane pPlane,
Matrix pMatrix
);JScript public static function Transform(
pOut : Plane,
pPlane : Plane,
pMatrix : Matrix
) : Plane;
Parameters
pOut Microsoft.DirectX.Plane
A Plane structure that represents the 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.pMatrix Microsoft.DirectX.Matrix
Source Matrix structure, which contains the transformation values. This matrix must contain the inverse transpose of the transformation values.
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 Transform method as a parameter for another method.
See Also