Microsoft DirectX 9.0 SDK Update (October 2004)

Matrix.Scale Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET 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
);
Managed C++ public: void Scale(
    float x,
    float y,
    float z
);
JScript .NET 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.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center