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

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.