Matrix4x4Double.CreateTranslation

Matrix4x4Double.CreateTranslation method

Creates a translation matrix.

public static Matrix4x4Double CreateTranslation(double xPosition, double yPosition, 
    double zPosition)
ParameterTypeDescription
xPositionDoubleThe amount to translate on the X-axis.
yPositionDoubleThe amount to translate on the Y-axis.
zPositionDoubleThe amount to translate on the Z-axis.

Return Value

The translation matrix.

See Also