Matrix.Scaling(Vector3) 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 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.