Matrix.Scaling Method

Language:

Builds a matrix that scales along the x-axis, y-axis, and z-axis.

Definition

Visual Basic Public Shared Function Scaling( _
    ByVal x As Single, _
    ByVal y As Single, _
    ByVal z As Single _
) As Matrix
C# public static Matrix Scaling(
    float x,
    float y,
    float z
);
C++ public:
static Matrix Scaling(
    float x,
    float y,
    float z
);
JScript public static function Scaling(
    x : float,
    y : float,
    z : float
) : Matrix;

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.

Return Value

Microsoft.DirectX.Matrix
Scaled Matrix structure.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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