Share via


MatrixStack.Scale Method ()

Determines the product of the current matrix and the computed scale matrix composed from the given point (x, y, and z).

Overload List

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

Remarks

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

Exceptions

InvalidCallException

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

See Also