Click or drag to resize

Matrix4x4CreateTranslation Method (Double, Double, Double)

Creates a translation matrix.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Matrix4x4 CreateTranslation(
	double xPosition,
	double yPosition,
	double zPosition
)

Parameters

xPosition
Type: SystemDouble
The amount to translate on the X-axis.
yPosition
Type: SystemDouble
The amount to translate on the Y-axis.
zPosition
Type: SystemDouble
The amount to translate on the Z-axis.

Return Value

Type: Matrix4x4
The translation matrix.
See Also