|
GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
|
dir is a full length vector, so origin + dir is the end of the trace rather than a unit direction. More...
#include <scripthook.h>
Data Fields | |
| ShVec3 | origin |
| ShVec3 | dir |
| ShVec3 | hitPos |
| first record, when hits > 0 | |
| uint32_t | hits |
| collector count | |
| uint64_t | descriptor |
| uint64_t | collector |
| uint8_t | raw [32] |
| collector head, for layout work | |
| uint64_t | projectile |
| Bullets cast with the descriptor at projectile+0x1D0, so the projectile and its hits are reachable. | |
| uint32_t | projHits |
| count at projectile+0xA6A | |
| uint64_t | hitObject |
| first hit record, at +0x38 | |
| float | hitDist |
| first hit record, at +0x48 | |
dir is a full length vector, so origin + dir is the end of the trace rather than a unit direction.
The collector is an OUTPUT, empty when the call starts, so results are read back one ray later.
| ShVec3 ShRay::origin |
| ShVec3 ShRay::dir |
| ShVec3 ShRay::hitPos |
first record, when hits > 0
| uint32_t ShRay::hits |
collector count
| uint64_t ShRay::descriptor |
| uint64_t ShRay::collector |
| uint8_t ShRay::raw[32] |
collector head, for layout work
| uint64_t ShRay::projectile |
Bullets cast with the descriptor at projectile+0x1D0, so the projectile and its hits are reachable.
0 when this is not a bullet
| uint32_t ShRay::projHits |
count at projectile+0xA6A
| uint64_t ShRay::hitObject |
first hit record, at +0x38
| float ShRay::hitDist |
first hit record, at +0x48