Skip to content

PhysicsBodyComponent.IsMaterialDirty Property

Definition

Namespace: Brine2D.ECS.Components

Set when SurfaceFriction, Restitution, or EnableHitEvents changes on a live body. The system calls B2.ShapeSetFriction, B2.ShapeSetRestitution, and B2.ShapeEnableHitEvents instead of a full rebuild.

C#
internal bool IsMaterialDirty { internal get; internal set; }

Property Value

System.Boolean