Matrix.CreateWorld Method (Vector3, Vector3, Vector3)

Creates a world matrix with the specified parameters.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

Syntax

'Declaration
Public Shared Function CreateWorld ( _
    position As Vector3, _
    forward As Vector3, _
    up As Vector3 _
) As Matrix
public static Matrix CreateWorld(
    Vector3 position,
    Vector3 forward,
    Vector3 up
)

Parameters

Return Value

Type: Microsoft.Xna.Framework.Matrix
The created world matrix.

Remarks

This matrix includes rotation and translation, but not scaling.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.