MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Nexus::PerceptionContext Struct Reference

Data passed to a Sensor or Agent perception function on each commit. More...

#include <PerceptionContext.hpp>

+ Collaboration diagram for MayaFlux::Nexus::PerceptionContext:

Public Attributes

glm::vec3 position {}
 
std::span< const Kinesis::QueryResultspatial_results
 

Detailed Description

Data passed to a Sensor or Agent perception function on each commit.

spatial_results contains the entities within the sensor's query radius at the moment of the last published snapshot. Results hold entity ids and squared distances as returned by SpatialIndex::within_radius.

Fields marked

Note
future are reserved for later domain expansions.

Definition at line 17 of file PerceptionContext.hpp.


The documentation for this struct was generated from the following file: