Matrix3x2::CreateScale Method (Single, Single)

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

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Matrix3x2 CreateScale(
	float xScale, 
	float yScale
)

Parameters

xScale
Type: System::Single

The value to scale by on the X axis.

yScale
Type: System::Single

The value to scale by on the Y axis.

Return Value

Type: System.Numerics::Matrix3x2
The scaling matrix.
Show: