Microsoft DirectX 9.0 SDK Update (October 2004)

UnsafeNativeMethods.Matrix.Scaling Method

Language:

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

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

Note: For programming in Microsoft® Visual Basic® .NET or Microsoft® JScript® .NET, use the equivalent method in the Microsoft.DirectX structures.

Definition

Visual Basic .NET Public Shared Function Scaling( _
    ByVal pOut As Matrix, _
    ByVal v As Vector3 _
) As Matrix
C# public static Matrix Scaling(
    Matrix pOut,
    Vector3 v
);
Managed C++ public: static Matrix Scaling(
    Matrix pOut,
    Vector3 v
);
JScript .NET public static function Scaling(
    pOut : Matrix,
    v : Vector3
) : Matrix;

Parameters

pOut Microsoft.DirectX.Matrix. Scaled Matrix structure.
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.

Remarks

The return value for this method is the same value returned in the pOut parameter. Resultantly, the Scaling method can be used as a parameter for another method.


© 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