Matrix.CreateScale Method (Vector3, Matrix)
Creates a scaling Matrix.
Syntax
'Declaration
Public Shared Sub CreateScale ( _
ref scales As Vector3, _
out result As Matrix _
)
public static void CreateScale (
ref Vector3 scales,
out Matrix result
)
public:
static void CreateScale(
ref Vector3 scales,
out Matrix result
)
Parameters
- scales
Type: Vector3
Amounts to scale by on the x, y, and z axes. - 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