Share via


MatrixStack.TranslateLocal Method ()

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

Overload List

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

Remarks

This method left-multiplies the current matrix by the computed translation matrix (transformation is around the local origin of the object).

Exceptions

InvalidCallException

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

See Also