TR_GetPointContents Function

Get the contents mask and the entity index at the given position.

int TR_GetPointContents(const float pos[3], int &entindex)

Parameters

const float[3] pos

World position to test.

int& entindex

Entity index found at the given position (by reference).

Return Value

Contents mask.