Share via


MatrixStack.ScaleLocal(Vector3) Method (Microsoft.DirectX)

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

Definition

Visual Basic Public Sub ScaleLocal( _
    ByVal scale As Vector3 _
)
C# public void ScaleLocal(
    Vector3 scale
);
C++ public:
void ScaleLocal(
    Vector3 scale
);
JScript public function ScaleLocal(
    scale : Vector3
);

Parameters

scale Microsoft.DirectX.Vector3
A Vector3 object that represents the scale values to use in the calculation.

Remarks

This method left-multiplies the current matrix with the computed scale matrix. The transformation is about 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