Click or drag to resize

CanvasItemDrawSetTransform Method

Sets a custom transform for drawing via components. Anything drawn afterwards will be transformed by this.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void DrawSetTransform(
	Vector2 position,
	float rotation,
	Vector2 scale
)

Parameters

position
Type: GodotVector2

[Missing <param name="position"/> documentation for "M:Godot.CanvasItem.DrawSetTransform(Godot.Vector2,System.Single,Godot.Vector2)"]

rotation
Type: SystemSingle

[Missing <param name="rotation"/> documentation for "M:Godot.CanvasItem.DrawSetTransform(Godot.Vector2,System.Single,Godot.Vector2)"]

scale
Type: GodotVector2

[Missing <param name="scale"/> documentation for "M:Godot.CanvasItem.DrawSetTransform(Godot.Vector2,System.Single,Godot.Vector2)"]

See Also