Share via


Matrix.Scaling Method (Single, Single, Single)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  Microsoft.WindowsMobile.DirectX
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
Public Shared Function Scaling ( _
    x As Single, _
    y As Single, _
    z As Single _
) As Matrix
'Usage
Dim x As Single
Dim y As Single
Dim z As Single
Dim returnValue As Matrix

returnValue = Matrix.Scaling(x, y, z)
public static Matrix Scaling(
    float x,
    float y,
    float z
)
public:
static Matrix Scaling(
    float x, 
    float y, 
    float z
)
static member Scaling : 
        x:float32 * 
        y:float32 * 
        z:float32 -> Matrix 

Parameters

  • x
    Type: System.Single
    Scaling factor that is applied along the x-axis.
  • y
    Type: System.Single
    Scaling factor that is applied along the y-axis.
  • z
    Type: System.Single
    Scaling factor that is applied along the z-axis.

Return Value

Type: Microsoft.WindowsMobile.DirectX.Matrix
A Vector3 structure containing three values that represent the scaling factors applied along the x-axis, y-axis, and z-axis.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Matrix Structure

Matrix Members

Scaling Overload

Microsoft.WindowsMobile.DirectX Namespace