Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Perception > API/Runtime/AIModule/Perception/FAISightQuery
Syntax
FAISightQuery::@12342::@12344 FrameInfo
Remarks
We can share the memory for these values because they aren't used at the same time :
- The FrameInfo is used when the query is queued for an update at a later frame. It stores the last time the query was processed so that we can prioritize it accordingly against the other queries
- The TraceInfo is used when the query has requested a asynchronous trace and is waiting for the result. The engine guarantees that we'll get the info at the next frame, but since we can have multiple queries that are pending at the same time, we need to store some information to identify them when receiving the result callback