Physics2DServerSingleton.bodySetShapeMetadata

Sets metadata of a shape within a body. This metadata is different from GodotObject.setMeta, and can be retrieved on shape queries.

struct Physics2DServerSingleton
@nogc nothrow
void
bodySetShapeMetadata
(
VariantArg2
)
(
in RID _body
,
in long shape_idx
,
in VariantArg2 metadata
)

Meta