Export (0) Print
Expand All

Matrix.CreateTranslation Method (Vector3, Matrix)

Creates a translation Matrix.

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

public static void CreateTranslation (
         ref Vector3 position,
         out Matrix result
)

Parameters

position
Type: Vector3
Amounts to translate by on the x, y, and z axes.
result
Type: Matrix
[OutAttribute] The created translation Matrix.

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

Community Additions

ADD
Show:
© 2014 Microsoft