Matrix4x4::CreateWorld Method
Creates a world matrix with the specified parameters.
Namespace: System.Numerics
Assembly: System.Numerics.Vectors (in System.Numerics.Vectors.dll)
public: static Matrix4x4 CreateWorld( Vector3 position, Vector3 forward, Vector3 up )
Parameters
- position
- Type: System.Numerics::Vector3
The position of the object.
- forward
- Type: System.Numerics::Vector3
The forward direction of the object.
- up
- Type: System.Numerics::Vector3
The upward direction of the object. Its value is usually [0, 1, 0].
Show: