Share via


MatrixStack.Translate Method ()

Determines the product of the current matrix and the computed translation matrix by the given factors (x, y, and z).

Overload List

public void Translate(float, float, float);
public void Translate(Vector3);

Remarks

This method right-multiplies the current matrix by the computed translation matrix. The transformation is around the current world origin.

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also