Share via


MatrixStack.ScaleLocal(Single,Single,Single) 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 x As Single, _
    ByVal y As Single, _
    ByVal z As Single _
)
C# public void ScaleLocal(
    float x,
    float y,
    float z
);
C++ public:
void ScaleLocal(
    float x,
    float y,
    float z
);
JScript public function ScaleLocal(
    x : float,
    y : float,
    z : float
);

Parameters

x System.Single
Floating-point value that represents the scaling component in the x-direction.
y System.Single
Floating-point value that represents the scaling component in the y-direction.
z System.Single
Floating-point value that represents the scaling component in the z-direction.

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