Matrix.Translation(Vector3) Method (Microsoft.DirectX)
Builds a matrix using specified offsets.
Definition
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;
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.