Starts up a new trace ray using a new trace result and a customized trace ray filter.
Calling TR_Trace*Filter or TR_TraceRay*Ex from inside a filter function is currently not allowed and may not work.
Handle TR_TraceRayFilterEx(const float pos, const float vec, int flags, RayType rtype, TraceEntityFilter filter, any data)
Starting position of the ray.
Depending on RayType, it will be used as the ending point, or the direction angle.
Method to calculate the ray direction.
Function to use as a filter.
Arbitrary data value to pass through to the filter function.
Ray trace handle, which must be closed via CloseHandle().