Click or drag to resize

Matrix4x4CreateWorld Method

Creates a world matrix with the specified parameters.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Matrix4x4 CreateWorld(
	Vector3 position,
	Vector3 forward,
	Vector3 up
)

Parameters

position
Type: Karamba.GeometryVector3
The position of the object; used in translation operations.
forward
Type: Karamba.GeometryVector3
Forward direction of the object.
up
Type: Karamba.GeometryVector3
Upward direction of the object; usually [0, 1, 0].

Return Value

Type: Matrix4x4
The world matrix.
See Also