Struct RayCastInput
- Namespace
- Alis.Core.Physic.Collision
- Assembly
- Alis.dll
Ray-cast input data.
public struct RayCastInput
Inherited Members
Fields
MaxFraction
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.
public float MaxFraction
Field Value
Point1
The starting point of the ray.
public Vector2 Point1
Field Value
Point2
The ending point of the ray.
public Vector2 Point2