collisionLayer property
Bitmask identifying this collider's layer. A contact is generated only when each side's layer is set in the other side's mask.
Implementation
int get collisionLayer => _collisionLayer;
Implementation
set collisionLayer(int value) {
_collisionLayer = value;
_pushFilter();
}