Physics2DServerBodySetShapeMetadata Method |
Sets metadata of a shape within a body. This metadata is different from SetMeta(String, Object), and can be retrieved on shape queries.
Namespace: Godot
public static void BodySetShapeMetadata( RID body, int shapeIdx, Object metadata )
[Missing <param name="body"/> documentation for "M:Godot.Physics2DServer.BodySetShapeMetadata(Godot.RID,System.Int32,System.Object)"]
[Missing <param name="shapeIdx"/> documentation for "M:Godot.Physics2DServer.BodySetShapeMetadata(Godot.RID,System.Int32,System.Object)"]
[Missing <param name="metadata"/> documentation for "M:Godot.Physics2DServer.BodySetShapeMetadata(Godot.RID,System.Int32,System.Object)"]