Matrix4x4::CreateScale Method (Vector3, Vector3)

Creates a scaling matrix with a center point.

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

public:
static Matrix4x4 CreateScale(
	Vector3 scales, 
	Vector3 centerPoint
)

Parameters

scales
Type: System.Numerics::Vector3

The vector that contains the amount to scale on each axis.

centerPoint
Type: System.Numerics::Vector3

The center point.

Return Value

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