GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
Loading...
Searching...
No Matches
ShRayQuery Struct Reference

A query over the recorded rays. More...

#include <scripthook.h>

Data Fields

float minLength
 trace at least this long
float maxLength
 0 means no upper bound
int hitsOnly
 only traces that hit something
ShVec3 from
 origin must be close to this
float fromRadius
 0 disables the origin test
ShVec3 through
 trace must pass near this point
float throughRadius
 0 disables the through test

Detailed Description

A query over the recorded rays.

Zeroed means match all, so set only the fields you care about.

Field Documentation

◆ minLength

float ShRayQuery::minLength

trace at least this long

◆ maxLength

float ShRayQuery::maxLength

0 means no upper bound

◆ hitsOnly

int ShRayQuery::hitsOnly

only traces that hit something

◆ from

ShVec3 ShRayQuery::from

origin must be close to this

◆ fromRadius

float ShRayQuery::fromRadius

0 disables the origin test

◆ through

ShVec3 ShRayQuery::through

trace must pass near this point

◆ throughRadius

float ShRayQuery::throughRadius

0 disables the through test


The documentation for this struct was generated from the following file: