Share via


Matrix.Scale(Single,Single,Single) Method (Microsoft.DirectX)

Scales the matrix along the x-axis, y-axis, and z-axis.

Definition

Visual Basic Public Sub Scale( _
    ByVal x As Single, _
    ByVal y As Single, _
    ByVal z As Single _
)
C# public void Scale(
    float x,
    float y,
    float z
);
C++ public:
void Scale(
    float x,
    float y,
    float z
);
JScript public function Scale(
    x : float,
    y : float,
    z : float
);

Parameters

x System.Single
Scaling factor that is applied along the x-axis.
y System.Single
Scaling factor that is applied along the y-axis.
z System.Single
Scaling factor that is applied along the z-axis.