TR_GetFraction Function

Returns the time fraction from a trace result (1.0 means no collision).

float TR_GetFraction(Handle hndl)

Parameters

Handle hndl

A trace Handle, or INVALID_HANDLE to use a global trace result.

Return Value

Time fraction value of the trace.

Errors

Invalid Handle.