collisionLayer property
int
get
collisionLayer
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;
set
collisionLayer
(int value)
Implementation
set collisionLayer(int value) {
_collisionLayer = value;
_pushFilter();
}