|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Data passed to a Sensor or Agent perception function on each commit. More...
#include <Perception.hpp>
Collaboration diagram for MayaFlux::Nexus::PerceptionContext:Public Attributes | |
| std::optional< glm::quat > | orientation |
| Optional orientation of the perceiver. Local +Z is its forward direction. | |
| glm::vec3 | position {} |
| float | radius { 1.0F } |
| Query radius the spatial results were gathered with. | |
| std::span< const Kinesis::QueryResult > | spatial_results |
Data passed to a Sensor or Agent perception function on each commit.
spatial_results contains the entities within radius of position at the moment of the last published snapshot. Results hold entity ids and squared distances as returned by SpatialIndex::within_radius.
Fields marked
Definition at line 19 of file Perception.hpp.