Skip to content

OverlapHit.Component Property

Definition

Namespace: Brine2D.Physics

The PhysicsBodyComponent whose shape was overlapped, or null if the body has no associated component.

C#
public Brine2D.ECS.Components.PhysicsBodyComponent? Component { get; init; }

Property Value

PhysicsBodyComponent