Matrix.CreateScale Method (Vector3)

Creates a scaling Matrix.

Syntax

'Declaration
Public Shared Function CreateScale ( _
         scales As Vector3 _
) As Matrix 
public static Matrix CreateScale (
         Vector3 scales
)
public:
static Matrix CreateScale(
         Vector3 scales
)

Parameters

  • scales
    Type: Vector3
    Amounts to scale by on the x, y, and z axes.

Return Value

Type: Matrix
The created scaling Matrix.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone