Matrix.CreateScale Method (Single, Single, Single, Matrix)
Creates a scaling Matrix.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static void CreateScale (
float xScale,
float yScale,
float zScale,
out Matrix result
)
Parameters
- xScale
Value to scale by on the x-axis. - yScale
Value to scale by on the y-axis. - zScale
Value to scale by on the z-axis. - 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