Click or drag to resize

VisualServerCanvasOccluderPolygonSetShape Method

Sets the shape of the occluder polygon.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void CanvasOccluderPolygonSetShape(
	RID occluderPolygon,
	Vector2[] shape,
	bool closed
)

Parameters

occluderPolygon
Type: GodotRID

[Missing <param name="occluderPolygon"/> documentation for "M:Godot.VisualServer.CanvasOccluderPolygonSetShape(Godot.RID,Godot.Vector2[],System.Boolean)"]

shape
Type: GodotVector2

[Missing <param name="shape"/> documentation for "M:Godot.VisualServer.CanvasOccluderPolygonSetShape(Godot.RID,Godot.Vector2[],System.Boolean)"]

closed
Type: SystemBoolean

[Missing <param name="closed"/> documentation for "M:Godot.VisualServer.CanvasOccluderPolygonSetShape(Godot.RID,Godot.Vector2[],System.Boolean)"]

See Also