Redigeeri

Jagamisviis:


Matrix3x2.CreateScale Method

Definition

Creates a scaling matrix.

Overloads

CreateScale(Single, Single)

Creates a scaling matrix from the specified X and Y components.

CreateScale(Single, Vector2)

Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center.

CreateScale(Single, Single, Vector2)

Creates a scaling matrix that is offset by a given center point.

CreateScale(Single)

Creates a scaling matrix that scales uniformly with the given scale.

CreateScale(Vector2)

Creates a scaling matrix from the specified vector scale.

CreateScale(Vector2, Vector2)

Creates a scaling matrix from the specified vector scale with an offset from the specified center point.

CreateScale(Single, Single)

Source:
Matrix3x2.cs
Source:
Matrix3x2.cs
Source:
Matrix3x2.cs

Creates a scaling matrix from the specified X and Y components.

public:
 static System::Numerics::Matrix3x2 CreateScale(float xScale, float yScale);
public static System.Numerics.Matrix3x2 CreateScale (float xScale, float yScale);
static member CreateScale : single * single -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (xScale As Single, yScale As Single) As Matrix3x2

Parameters

xScale
Single

The value to scale by on the X axis.

yScale
Single

The value to scale by on the Y axis.

Returns

The scaling matrix.

Applies to

CreateScale(Single, Vector2)

Source:
Matrix3x2.cs
Source:
Matrix3x2.cs
Source:
Matrix3x2.cs

Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center.

public:
 static System::Numerics::Matrix3x2 CreateScale(float scale, System::Numerics::Vector2 centerPoint);
public static System.Numerics.Matrix3x2 CreateScale (float scale, System.Numerics.Vector2 centerPoint);
static member CreateScale : single * System.Numerics.Vector2 -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (scale As Single, centerPoint As Vector2) As Matrix3x2

Parameters

scale
Single

The uniform scale to use.

centerPoint
Vector2

The center offset.

Returns

The scaling matrix.

Applies to

CreateScale(Single, Single, Vector2)

Source:
Matrix3x2.cs
Source:
Matrix3x2.cs
Source:
Matrix3x2.cs

Creates a scaling matrix that is offset by a given center point.

public:
 static System::Numerics::Matrix3x2 CreateScale(float xScale, float yScale, System::Numerics::Vector2 centerPoint);
public static System.Numerics.Matrix3x2 CreateScale (float xScale, float yScale, System.Numerics.Vector2 centerPoint);
static member CreateScale : single * single * System.Numerics.Vector2 -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (xScale As Single, yScale As Single, centerPoint As Vector2) As Matrix3x2

Parameters

xScale
Single

The value to scale by on the X axis.

yScale
Single

The value to scale by on the Y axis.

centerPoint
Vector2

The center point.

Returns

The scaling matrix.

Applies to

CreateScale(Single)

Source:
Matrix3x2.cs
Source:
Matrix3x2.cs
Source:
Matrix3x2.cs

Creates a scaling matrix that scales uniformly with the given scale.

public:
 static System::Numerics::Matrix3x2 CreateScale(float scale);
public static System.Numerics.Matrix3x2 CreateScale (float scale);
static member CreateScale : single -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (scale As Single) As Matrix3x2

Parameters

scale
Single

The uniform scale to use.

Returns

The scaling matrix.

Applies to

CreateScale(Vector2)

Source:
Matrix3x2.cs
Source:
Matrix3x2.cs
Source:
Matrix3x2.cs

Creates a scaling matrix from the specified vector scale.

public:
 static System::Numerics::Matrix3x2 CreateScale(System::Numerics::Vector2 scales);
public static System.Numerics.Matrix3x2 CreateScale (System.Numerics.Vector2 scales);
static member CreateScale : System.Numerics.Vector2 -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (scales As Vector2) As Matrix3x2

Parameters

scales
Vector2

The scale to use.

Returns

The scaling matrix.

Applies to

CreateScale(Vector2, Vector2)

Source:
Matrix3x2.cs
Source:
Matrix3x2.cs
Source:
Matrix3x2.cs

Creates a scaling matrix from the specified vector scale with an offset from the specified center point.

public:
 static System::Numerics::Matrix3x2 CreateScale(System::Numerics::Vector2 scales, System::Numerics::Vector2 centerPoint);
public static System.Numerics.Matrix3x2 CreateScale (System.Numerics.Vector2 scales, System.Numerics.Vector2 centerPoint);
static member CreateScale : System.Numerics.Vector2 * System.Numerics.Vector2 -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (scales As Vector2, centerPoint As Vector2) As Matrix3x2

Parameters

scales
Vector2

The scale to use.

centerPoint
Vector2

The center offset.

Returns

The scaling matrix.

Applies to