Low level ray cast input data.
More...
|
| RayCastInput (Vec2 origin, Vec2 translation, float maxFraction) |
| Constructs a new RayCastInput object with the given parameters.
|
|
| RayCastInput () |
| Constructs a new RayCastInput object with default values.
|
|
|
Vec2 | Origin |
| Start point of the ray cast.
|
|
Vec2 | Translation |
| Translation of the ray cast.
|
|
float | MaxFraction |
| The maximum fraction of the translation to consider, typically 1.
|
|
|
bool | Valid [get] |
| Validate this ray cast input data (NaN, etc)
|
|
Low level ray cast input data.
◆ RayCastInput()
Box2D.RayCastInput.RayCastInput |
( |
Vec2 |
origin, |
|
|
Vec2 |
translation, |
|
|
float |
maxFraction |
|
) |
| |
|
inline |
Constructs a new RayCastInput object with the given parameters.
- Parameters
-
origin | Start point of the ray cast |
translation | Translation of the ray cast |
maxFraction | The maximum fraction of the translation to consider, typically 1 |
The documentation for this struct was generated from the following file:
- src/Box2DBindings/RayCasting/RayCastInput.cs