Vector3.TransformCoordinate Method

Language:

Transforms a 3-D vector or an array of 3-D vectors by a given matrix, projecting the result back into w = 1.

Definition

Visual Basic Public Sub TransformCoordinate( _
    ByVal sourceMatrix As Matrix _
)
C# public void TransformCoordinate(
    Matrix sourceMatrix
);
C++ public:
void TransformCoordinate(
    Matrix sourceMatrix
);
JScript public function TransformCoordinate(
    sourceMatrix : Matrix
);

Parameters

sourceMatrix Microsoft.DirectX.Matrix
Source Matrix structure.

Remarks

This method transforms the source vector, source (x, y, z, 1), or all vectors in the vector parameter, by the matrix sourceMatrix, projecting the result back into w = 1.

Note: Overloads of this method that accept a Matrix structure as a parameter are static.

See Also


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center