Matrix4x4::CreateScale Method (Single, Vector3)

Creates a uniform scaling matrix that scales equally on each axis with a center point.

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

public:
static Matrix4x4 CreateScale(
	float scale, 
	Vector3 centerPoint
)

Parameters

scale
Type: System::Single

The uniform scaling factor.

centerPoint
Type: System.Numerics::Vector3

The center point.

Return Value

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