Matrix.Translation Method |
Language: |
Builds a matrix using specified offsets.
Visual Basic Public Shared Function Translation( _
ByVal v As Vector3 _
) As MatrixC# public static Matrix Translation(
Vector3 v
);C++ public:
static Matrix Translation(
Vector3 v
);JScript public static function Translation(
v : Vector3
) : 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.
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