Click or drag to resize

Physics2DServerAreaSetShape Method

Substitutes a given area shape by another. The old shape is selected by its index, the new one by its RID.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void AreaSetShape(
	RID area,
	int shapeIdx,
	RID shape
)

Parameters

area
Type: GodotRID

[Missing <param name="area"/> documentation for "M:Godot.Physics2DServer.AreaSetShape(Godot.RID,System.Int32,Godot.RID)"]

shapeIdx
Type: SystemInt32

[Missing <param name="shapeIdx"/> documentation for "M:Godot.Physics2DServer.AreaSetShape(Godot.RID,System.Int32,Godot.RID)"]

shape
Type: GodotRID

[Missing <param name="shape"/> documentation for "M:Godot.Physics2DServer.AreaSetShape(Godot.RID,System.Int32,Godot.RID)"]

See Also