Click or drag to resize

RayCastInputMaxFraction Field

The ray extends from p1 to p1 + maxFraction * (p2 - p1). If you supply a max fraction of 1, the ray extends from p1 to p2. A max fraction of 0.5 makes the ray go from p1 and half way to p2.

Namespace:  Internal.tainicom.Aether.Physics2D.Collision
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public float MaxFraction

Field Value

Type: Single
See Also