Matrix4x4CreateWorld Method
Creates a world matrix with the specified parameters.
Namespace: Karamba.GeometryAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static Matrix4x4 CreateWorld(
Vector3 position,
Vector3 forward,
Vector3 up
)
Public Shared Function CreateWorld (
position As Vector3,
forward As Vector3,
up As Vector3
) As Matrix4x4
public:
static Matrix4x4 CreateWorld(
Vector3 position,
Vector3 forward,
Vector3 up
)
static member CreateWorld :
position : Vector3 *
forward : Vector3 *
up : Vector3 -> Matrix4x4
- position Vector3
- The position of the object; used in translation operations.
- forward Vector3
- Forward direction of the object.
- up Vector3
- Upward direction of the object; usually [0, 1, 0].
Matrix4x4The world matrix.