UnsafeNativeMethods.Matrix.Translation Method |
Language: |
Builds a matrix using specified offsets.
Visual Basic Public Shared Function Translation( _
ByVal pOut As Matrix, _
ByVal v As Vector3 _
) As MatrixC# public static Matrix Translation(
Matrix pOut,
Vector3 v
);C++ public:
static Matrix Translation(
Matrix pOut,
Vector3 v
);JScript public static function Translation(
pOut : Matrix,
v : Vector3
) : Matrix;
pOut Microsoft.DirectX.Matrix
A Matrix structure that contains a translated transformation matrix.v Microsoft.DirectX.Vector3
A Vector3 structure that contains the x-coordinate, y-coordinate, and z-coordinate offsets.
Microsoft.DirectX.Matrix
A Matrix structure that contains a translated transformation matrix.
The return value for this method is the same value returned in the pOut parameter. This allows you to use the Translation method as a parameter for another method.
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