|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| std::optional< uint32_t > MayaFlux::Portal::Forma::Layer::hit_test | ( | glm::vec2 | ndc | ) | const |
Return the topmost interactive, visible element containing ndc.
Traverses back-to-front. An element passes if:
| ndc | Point in NDC space (x, y in [-1, +1]). |
Definition at line 117 of file Layer.cpp.
References m_elements, and test_element().
Referenced by hit_test().
Here is the call graph for this function:
Here is the caller graph for this function: