TR_TraceHullFilter

Last Updated2022-12-02
Created At2008-05-28

Starts up a new trace hull using a global trace result and a customized trace ray filter. Calling TR_Trace*Filter or TR_Trace*FilterEx from inside a filter function is currently not allowed and may not work.

native void TR_TraceHullFilter(const float pos[3], const float vec[3], const float mins[3], const float maxs[3], int flags, TraceEntityFilter filter, any data = 0, TraceType traceType = TRACE_EVERYTHING)

Parameters

const float[3] pos
Starting position of the ray.
const float[3] vec
Ending position of the ray.
const float[3] mins
Hull minimum size.
const float[3] maxs
Hull maximum size.
int flags
Trace flags.
Function to use as a filter.
any data
Arbitrary data value to pass through to the filter function.
TraceType traceType
Trace type.

Return Value

void