![]() |
![]() |
![]() |
UnsafeNativeMethods.Matrix.Translation Method |
Language: |
Builds a matrix using specified offsets.
Visual Basic .NET Public Shared Function Translation( _
ByVal pOut As Matrix, _
ByVal v As Vector3 _
) As MatrixC# public static Matrix Translation(
Matrix pOut,
Vector3 v
);Managed C++ public: static Matrix Translation(
Matrix pOut,
Vector3 v
);JScript .NET 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. Resultantly, the Translation method can be used as a parameter for another method.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center