Matrix.Translation Method |
Language: |
Builds a matrix using specified offsets.
Visual Basic Public Shared Function Translation( _
ByVal x As Single, _
ByVal y As Single, _
ByVal z As Single _
) As MatrixC# public static Matrix Translation(
float x,
float y,
float z
);C++ public:
static Matrix Translation(
float x,
float y,
float z
);JScript public static function Translation(
x : float,
y : float,
z : float
) : Matrix;
x System.Single
X-coordinate offset.y System.Single
Y-coordinate offset.z System.Single
Z-coordinate offset.
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