Click or drag to resize

VisualServerViewportSetCanvasTransform Method

Sets the transformation of a viewport's canvas.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void ViewportSetCanvasTransform(
	RID viewport,
	RID canvas,
	Transform2D offset
)

Parameters

viewport
Type: GodotRID

[Missing <param name="viewport"/> documentation for "M:Godot.VisualServer.ViewportSetCanvasTransform(Godot.RID,Godot.RID,Godot.Transform2D)"]

canvas
Type: GodotRID

[Missing <param name="canvas"/> documentation for "M:Godot.VisualServer.ViewportSetCanvasTransform(Godot.RID,Godot.RID,Godot.Transform2D)"]

offset
Type: GodotTransform2D

[Missing <param name="offset"/> documentation for "M:Godot.VisualServer.ViewportSetCanvasTransform(Godot.RID,Godot.RID,Godot.Transform2D)"]

See Also