Click or drag to resize

RayCastInput Structure

Ray-cast input data.

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 struct RayCastInput

The RayCastInput type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldMaxFraction
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 fieldPoint1
The starting point of the ray.
Public fieldPoint2
The ending point of the ray.
Top
Extension Methods
See Also