TR_EnumerateEntitiesPoint Function

Enumerates over entities at point.

void TR_EnumerateEntitiesPoint(const float pos[3], int mask, TraceEntityEnumerator enumerator, any data)

Parameters

const float[3] pos

Position of the point.

int mask

Mask to use for the trace. See PARTITION_* flags.

TraceEntityEnumerator enumerator

Function to use as enumerator. For each entity found along the point, this function is called.

any data

Arbitrary data value to pass through to the enumerator.