public readonly record struct PerceptionStatsWhat one frame of perception cost.
Remarks
⚠ The report is a deliverable and not a diagnostic, for the reason AgentSchedule's is: a perception system that quietly stopped noticing things is a frame budget met by an AI nobody agreed to. This is what a project reads to find out what its radius, its interval and its LOD bands actually bought.
Fields and properties (9)
public int ListenersHow many listeners there are.
public int SourcesHow many stimuli sources there are.
public int PassesHow many listeners actually sensed this frame.
public int ExaminedHow many source-distance tests were done. ⚠ The number the broad phase exists to make small: without one it is Passes × Sources by construction.
public int CellsHow many grid cells were walked.
public int CandidatesHow many sources came out of the radius test and into the sense tests.
public int ConeTestsHow many cone tests were done.
public int TracesHow many occlusion raycasts were done. The expensive one, and the reason the other three numbers matter.
public int ExaminedWithoutBroadPhaseWhat the same frame would have cost with no broad phase at all.
Methods (2)
public PerceptionStats(int Listeners, int Sources, int Passes, int Examined, int Cells, int Candidates, int ConeTests, int Traces)What one frame of perception cost.
public override string ToString()Returns the fully qualified type name of this instance.
Used by (4)
- PerceptionCostTestsVixen.Ai.Perception.Tests
- PerceptionSystemVixen.Ai.Perception
- ScheduleTestsVixen.Ai.Perception.Tests
- SightOcclusionTestsVixen.Ai.Perception.Tests