TR_GetSurfaceName Function

Returns the name of the surface that was hit.

void TR_GetSurfaceName(Handle hndl, char[] buffer, int maxlen)

Parameters

Handle hndl

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

char[] buffer

Buffer to store surface name in

int maxlen

Maximum length of output buffer

Errors

Invalid Handle.