Matrix.CreateScale Method (Single, Single, Single)
Creates a scaling Matrix.
Syntax
'Declaration
Public Shared Function CreateScale ( _
xScale As Single, _
yScale As Single, _
zScale As Single _
) As Matrix
public static Matrix CreateScale (
float xScale,
float yScale,
float zScale
)
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
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