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

◆ get() [2/2]

const Element * MayaFlux::Portal::Forma::Layer::get ( uint32_t  id) const

Definition at line 195 of file Layer.cpp.

196{
197 auto it = std::ranges::find_if(m_elements,
198 [id](const Element& e) { return e.id == id; });
199 return it != m_elements.end() ? &*it : nullptr;
200}
std::vector< Element > m_elements
Definition Layer.hpp:280

References MayaFlux::Portal::Forma::Element::id, and m_elements.

Referenced by relate(), set_bounds(), set_contains(), set_interactive(), and set_visible().

+ Here is the caller graph for this function: