Skip to content

RaycastHit.Component Property

Definition

Namespace: Brine2D.Physics

The PhysicsBodyComponent that was hit, or null if the body has no associated component (e.g. the physics system has not yet initialized).

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

Property Value

PhysicsBodyComponent