Matrix.CreateScale Method (Vector3, Matrix)

Creates a scaling Matrix.

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

Syntax

public static void CreateScale (
         ref Vector3 scales,
         out Matrix result
)

Parameters

  • scales
    Amounts to scale by on the x, y, and z axes.
  • result
    [OutAttribute] The created scaling Matrix.

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista