Windows apps
Collapse the table of content
Expand the table of content

Matrix4x4::CreateScale Method (Single, Single, Single)

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

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

public:
static Matrix4x4 CreateScale(
	float xScale, 
	float yScale, 
	float zScale
)

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.

zScale
Type: System::Single

The value to scale by on the Z axis.

Return Value

Type: System.Numerics::Matrix4x4
The scaling matrix.
Show:
© 2017 Microsoft