Microsoft DirectX 9.0 SDK Update (October 2004)

Matrix.Translate Method

Language:

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

Translates the matrix using specified offsets.

Definition

Visual Basic .NET Public Sub Translate( _
    ByVal x As Single, _
    ByVal y As Single, _
    ByVal z As Single _
)
C# public void Translate(
    float x,
    float y,
    float z
);
Managed C++ public: void Translate(
    float x,
    float y,
    float z
);
JScript .NET public function Translate(
    x : float,
    y : float,
    z : float
);

Parameters

x System.Single. X-coordinate offset.
y System.Single. Y-coordinate offset.
z System.Single. Z-coordinate offset.

© 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