Matrix.Translate Method

Language:

Translates the matrix using specified offsets.

Definition

Visual Basic 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
);
C++ public:
void Translate(
    float x,
    float y,
    float z
);
JScript 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.

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