Matrix.CreateTranslation Method (Microsoft.Xna.Framework)
Creates a new translation Matrix.
- C#
- VB
- F#
public static void CreateTranslation( float xPosition, float yPosition, float zPosition, out Matrix result )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- xPosition
-
Type: System.Single
X coordinate of translation.
- yPosition
-
Type: System.Single
Y coordinate of translation.
- zPosition
-
Type: System.Single
Z coordinate of translation.
- result
-
Type: out Microsoft.Xna.Framework.Matrix
The translation Matrix as an output parameter.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web