Export (0) Print
Expand All

Matrix.CreateTranslation Method (Single, Single, Single, Matrix)

Creates a translation Matrix.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static void CreateTranslation (
         float xPosition,
         float yPosition,
         float zPosition,
         out Matrix result
)

Parameters

xPosition
Value to translate by on the x-axis.
yPosition
Value to translate by on the y-axis.
zPosition
Value to translate by on the z-axis.
result
[OutAttribute] The created translation Matrix.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

ADD
Show:
© 2014 Microsoft