Skip to content

RaycastHit.Fraction Property

Definition

Namespace: Brine2D.Physics

Fraction along the ray \(0 = origin, 1 = origin \+ full translation\).

C#
public float Fraction { get; init; }

Property Value

System.Single