MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ Expanse() [3/5]

MayaFlux::Nexus::Expanse::Expanse ( const Kinesis::AABB3D &  bounds,
CrossingFn  on_enter = {},
CrossingFn  on_exit = {} 
)
inlineexplicit

Construct as a box.

Parameters
boundsWorld-space box.
on_enterFired with the entity id when it enters. May be empty.
on_exitFired with the entity id when it leaves. May be empty.

Definition at line 89 of file Expanse.hpp.

89 {}, CrossingFn on_exit = {})
93 {
94 }
Expanse::CrossingFn on_enter
Definition Decoder.cpp:518
Expanse::CrossingFn on_exit
Definition Decoder.cpp:519
std::function< void(uint32_t)> CrossingFn
Definition Expanse.hpp:58
std::optional< Kinesis::AABB3D > m_bounds
Definition Expanse.hpp:344
const std::optional< Kinesis::AABB3D > & bounds() const
The box, if set.
Definition Expanse.hpp:153
void move(EditableText &s, int n)
Move the cursor by n codepoints.
Definition TextEdit.cpp:20