Click or drag to resize

Physics2DServerShapeSetData Method

Sets the shape data that defines its shape and size. The data to be passed depends on the kind of shape created ShapeGetType(RID).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void ShapeSetData(
	RID shape,
	Object data
)

Parameters

shape
Type: GodotRID

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

data
Type: SystemObject

[Missing <param name="data"/> documentation for "M:Godot.Physics2DServer.ShapeSetData(Godot.RID,System.Object)"]

See Also