Click or drag to resize

Matrix2FromScale Method (Vector2, Matrix2)

Creates a scale matrix with the specified Vector2 object.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void FromScale(
	ref Vector2 scale,
	out Matrix2 result
)

Parameters

scale
Type: NeoAxisVector2
The specified vector.
result
Type: NeoAxisMatrix2
When the method completes, contains the scale matrix.
See Also