Matrix.CreateScale Method (Single)

Creates a scaling Matrix.

Syntax

'Declaration
Public Shared Function CreateScale ( _
         scale As Single _
) As Matrix 
public static Matrix CreateScale (
         float scale
)
public:
static Matrix CreateScale(
         float scale
)

Parameters

  • scale
    Type: Single
    Amount to scale by.

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