The UI entry points the SDK drives: the Yoga layout pass, hit testing, draw order, and the computed-box queries.
More...
|
| bool | esengine::uiLayout_update (ecs::Registry ®istry, f32 boxLeft, f32 boxBottom, f32 boxRight, f32 boxTop, bool propertyDirty) |
| void | esengine::uiHitTest_update (ecs::Registry ®istry, f32 originX, f32 originY, f32 originZ, f32 dirX, f32 dirY, f32 dirZ) |
| void | esengine::uiHitTest_updateDomains (ecs::Registry ®istry, f32 worldOriginX, f32 worldOriginY, f32 worldOriginZ, f32 worldDirX, f32 worldDirY, f32 worldDirZ, f32 screenOriginX, f32 screenOriginY, f32 screenOriginZ, f32 screenDirX, f32 screenDirY, f32 screenDirZ) |
| | The hit test with a ray per domain — world content and world-space UI answer the first, screen UI the second.
|
| bool | esengine::uiHitTest_inputsChanged (ecs::Registry ®istry) |
| u32 | esengine::uiHitTest_getHitEntity () |
| u32 | esengine::uiHitTest_pick (ecs::Registry ®istry, f32 worldX, f32 worldY) |
| u32 | esengine::uiHitTest_pickAll (ecs::Registry ®istry, f32 worldX, f32 worldY) |
| u32 | esengine::uiHitTest_pickResult (u32 index) |
| f32 | esengine::uiNode_computedWidth (ecs::Registry &r, u32 e) |
| f32 | esengine::uiNode_computedHeight (ecs::Registry &r, u32 e) |
| void | esengine::uiRenderOrder_update (ecs::Registry ®istry) |
| const std::unordered_map< u32, i32 > * | esengine::uiTreeLayers () |
| i32 | esengine::ui_getRenderOrder (ecs::Registry ®istry, u32 entity) |
| u32 | esengine::ui_getCullBit (ecs::Registry ®istry, u32 entity) |
| bool | esengine::ui_isScreenDomain (ecs::Registry ®istry, u32 entity) |
| | Whether entity belongs to the SCREEN rather than to the world.
|
| bool | esengine::getUINodeHiddenInTree (ecs::Registry ®istry, u32 entity) |
| f32 | esengine::getUINodeAlphaInTree (ecs::Registry ®istry, u32 entity) |
| f32 | esengine::getUINodeComputedWidth (ecs::Registry ®istry, u32 entity) |
| f32 | esengine::getUINodeComputedHeight (ecs::Registry ®istry, u32 entity) |
| void | esengine::transform_update (ecs::Registry ®istry) |
| bool | esengine::transform_copyFlatRenderMatrix (ecs::Registry ®istry, u32 entity, uintptr_t outputPtr) |
The UI entry points the SDK drives: the Yoga layout pass, hit testing, draw order, and the computed-box queries.
These were defined inline in WebSDKEntry.cpp, which made them web-only by accident of where they sat — the implementations use nothing but activeCtx() and the registry. Declared here (like RendererBindings), they are registered with embind by WebSDKEntry on the web and wrapped for QuickJS by the EHT-generated native bindings, from THIS file's declarations. One implementation, two registrations.
Definition in file UIBindings.hpp.