Table of Contents

Property Fraction

Namespace
Box3D
Assembly
Box3D.NET.dll

Fraction

Gets how far along the ray the hit occurred, from zero at the origin to one at the end.

public float Fraction { get; init; }

Property Value

float

Remarks

Multiply by the length of the translation passed to the cast to get a distance.