|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| std::optional< uint32_t > MayaFlux::Portal::Forma::Layer::hit_test | ( | double | px, |
| double | py, | ||
| uint32_t | win_w, | ||
| uint32_t | win_h | ||
| ) | const |
hit_test with pixel-space input, converted to NDC internally.
| px | Cursor x in pixels (top-left origin). |
| py | Cursor y in pixels (top-left origin). |
| win_w | Window width in pixels. |
| win_h | Window height in pixels. |
Definition at line 136 of file Layer.cpp.
References hit_test(), and to_ndc().
Here is the call graph for this function: