Sdílet prostřednictvím


Matrix.CreateScale Method (Single)

Creates a scaling Matrix.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static Matrix CreateScale (
         float scale
)

Parameters

  • scale
    Amount to scale by.

Return Value

The created scaling Matrix.

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Programming Guide

How to: Transform a Point with a Matrix

Platforms

Xbox 360, Windows XP SP2, Windows Vista