Matrix.CreateScale Method (Vector3)

Creates a scaling Matrix.

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

Syntax

public static Matrix CreateScale (
         Vector3 scales
)

Parameters

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

Return Value

The created scaling Matrix.

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone