Click or drag to resize

Transform2D Constructor (Single, Single, Single, Single, Single, Single)

Constructs a transformation matrix from the given components. Arguments are named such that xy is equal to calling x.y

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Transform2D(
	float xx,
	float xy,
	float yx,
	float yy,
	float ox,
	float oy
)

Parameters

xx
Type: SystemSingle
The X component of the X column vector, accessed via `t.x.x` or `[0][0]`
xy
Type: SystemSingle
The Y component of the X column vector, accessed via `t.x.y` or `[0][1]`
yx
Type: SystemSingle
The X component of the Y column vector, accessed via `t.y.x` or `[1][0]`
yy
Type: SystemSingle
The Y component of the Y column vector, accessed via `t.y.y` or `[1][1]`
ox
Type: SystemSingle
The X component of the origin vector, accessed via `t.origin.x` or `[2][0]`
oy
Type: SystemSingle
The Y component of the origin vector, accessed via `t.origin.y` or `[2][1]`
See Also