Physics2DServerSingleton.bodyGetCollisionLayer

Returns the physics layer or layers a body belongs to.

struct Physics2DServerSingleton
@nogc nothrow const
long
bodyGetCollisionLayer
(
in RID _body
)

Meta