Skip to content

SubShape.CategoryBits Property

Definition

Namespace: Brine2D.ECS.Components

Raw category bitmask override for this sub-shape. When non-zero, overrides the single-bit mask derived from Layer (i.e. 1UL << Layer). When null, falls back to Layer-derived bits or the owning body's CategoryBits. Takes effect immediately on a live body via a lightweight filter update.

public System.Nullable<ulong> CategoryBits { get; set; }

Property Value

System.Nullable<System.UInt64>