![]() |
Superfighters Deluxe
|
Public Member Functions | |
| RayCastResult (bool hit, int objectID, IObject hitObject, bool isPlayer, float fraction, Vector2 position, Vector2 normal) | |
Public Attributes | |
| readonly float | Fraction |
| Fraction of the input start/end positions. More... | |
| readonly bool | Hit |
| If a hit was registered. More... | |
| readonly IObject | HitObject |
| Hit object. More... | |
| readonly bool | IsPlayer |
| If the hit object is a player. More... | |
| readonly Vector2 | Normal |
| Hit normal. Is Vector2.Zero for results with fraction 0 where the start position overlaps the object if IncludeOverlap is enabled. More... | |
| readonly int | ObjectID |
| Hit object ID. More... | |
| readonly Vector2 | Position |
| Hit position. More... | |
| RayCastResult | ( | bool | hit, |
| int | objectID, | ||
| IObject | hitObject, | ||
| bool | isPlayer, | ||
| float | fraction, | ||
| Vector2 | position, | ||
| Vector2 | normal | ||
| ) |
| hit | |
| objectID | |
| hitObject | |
| isPlayer | |
| fraction | |
| position | |
| normal |
| readonly float Fraction |
Fraction of the input start/end positions.
| readonly bool Hit |
If a hit was registered.
| readonly IObject HitObject |
Hit object.
| readonly bool IsPlayer |
If the hit object is a player.
| readonly Vector2 Normal |
Hit normal. Is Vector2.Zero for results with fraction 0 where the start position overlaps the object if IncludeOverlap is enabled.
| readonly int ObjectID |
Hit object ID.
| readonly Vector2 Position |
Hit position.