Click or drag to resize

Transform2D Constructor (Vector2, Vector2, Vector2)

Constructs a transformation matrix from 3 vectors (matrix columns).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Transform2D(
	Vector2 xAxis,
	Vector2 yAxis,
	Vector2 originPos
)

Parameters

xAxis
Type: GodotVector2
The X vector, or column index 0.
yAxis
Type: GodotVector2
The Y vector, or column index 1.
originPos
Type: GodotVector2
The origin vector, or column index 2.
See Also