Struct Raycast

struct Raycast

Public Members

fm_vec3_t origin = {}
fm_vec3_t dir = {}
fm_vec3_t invDir = {}
float maxDistance = {}
RaycastColliderTypeFlags collTypes = {RaycastColliderTypeFlags::ALL}
uint8_t readMask = {0xFF}
bool interactTrigger = {false}

Public Static Functions

static Raycast create(
const fm_vec3_t &origin,
const fm_vec3_t &dir,
float maxDist,
RaycastColliderTypeFlags collTypes = RaycastColliderTypeFlags::ALL,
bool interactTrigger = false,
uint8_t readMask = 0xFF
)