Export (0) Print
Expand All

Matrix.CreateScale Method (Single, Single, Single)

Creates a scaling Matrix.

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

public static Matrix CreateScale (
         float xScale,
         float yScale,
         float zScale
)

Parameters

xScale
Type: Single
Value to scale by on the x-axis.
yScale
Type: Single
Value to scale by on the y-axis.
zScale
Type: Single
Value to scale by on the z-axis.

Return Value

The created scaling Matrix.

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

Community Additions

ADD
Show:
© 2014 Microsoft