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 v As Vector3 _
) As Matrix
C# public static Matrix Scaling(
    Vector3 v
);
C++ public:
static Matrix Scaling(
    Vector3 v
);
JScript public static function Scaling(
    v : Vector3
) : Matrix;

Parameters

v Microsoft.DirectX.Vector3
A Vector3 structure containing three values that represent the scaling factors applied along the x-axis, y-axis, and 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