Microsoft DirectX 9.0 SDK Update (October 2004)

Matrix.Translation Method

Language:

Note: This documentation is preliminary and is subject to change.

Builds a matrix using specified offsets.

Definition

Visual Basic .NET Public Shared Function Translation( _
    ByVal v As Vector3 _
) As Matrix
C# public static Matrix Translation(
    Vector3 v
);
Managed C++ public: static Matrix Translation(
    Vector3 v
);
JScript .NET public static function Translation(
    v : Vector3
) : Matrix;

Parameters

v Microsoft.DirectX.Vector3. A Vector3 structure that contains the x-coordinate, y-coordinate, and z-coordinate offsets.

Return Value

Microsoft.DirectX.Matrix . A Matrix structure that contains a translated transformation matrix.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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