MatrixStack.Translate Method
|
Language: |
Note: This documentation is preliminary and is subject to change.
Determines the product of the current matrix and the computed translation matrix by the given factors (x, y, and z).
Definition
Parameters
x
|
System.Single. Floating-point value that represents the translation factor in the x-direction. |
y
|
System.Single. Floating-point value that represents the translation factor in the y-direction. |
z
|
System.Single. Floating-point value that represents the translation factor in the z-direction. |
Remarks
This method right-multiplies the current matrix by the computed translation matrix. The transformation is around the current world origin.
Exceptions
InvalidCallException
|
The method call is invalid. For example, a method's parameter might contain an invalid value. |
See Also
© 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