Share via


Matrix.CreateTranslation Method (Vector3, Matrix)

Creates a translation Matrix.

Syntax

'Declaration
Public Shared Sub CreateTranslation ( _
         ref position As Vector3, _
         out result As Matrix _
)
public static void CreateTranslation (
         ref Vector3 position,
         out Matrix result
)
public:
static void CreateTranslation(
         ref Vector3 position,
         out Matrix result
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone