|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Per-expanse JSON record. More...
#include <Schema.hpp>
Collaboration diagram for MayaFlux::Nexus::State::ExpanseRecord:Static Public Member Functions | |
| static constexpr auto | describe () |
Public Attributes | |
| std::optional< glm::vec3 > | bounds_max |
| std::optional< glm::vec3 > | bounds_min |
| std::optional< uint32_t > | collection |
| std::string | fit_name |
| std::string | fn_name |
| uint32_t | id {} |
| std::string | on_enter_fn_name |
| std::string | on_exit_fn_name |
| std::string | subkind |
Per-expanse JSON record.
The containment predicate and crossing callbacks are closures, so only their names are serializable and they are resolved from the Fabric's function registry on reconstruct. The box is plain data and is stored as is.
subkind is empty for a plain Expanse, "hull" for a Hull and "mantle" for a Mantle. A Hull keeps its collection index and a Mantle its fit mode, as the lowercase FitMode name. The buffer both wrap is live and is not encoded. id is the id the Expanse had when saved and is informational.
Definition at line 328 of file Schema.hpp.