Matrix.CreateScale Method (Single, Single, Single, Matrix)
Creates a scaling Matrix.
Syntax
'Declaration
Public Shared Sub CreateScale ( _
xScale As Single, _
yScale As Single, _
zScale As Single, _
out result As Matrix _
)
public static void CreateScale (
float xScale,
float yScale,
float zScale,
out Matrix result
)
public:
static void CreateScale(
float xScale,
float yScale,
float zScale,
out Matrix result
)
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. - result
Type: Matrix
[OutAttribute] 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