16#include <unordered_map>
48 f32 worldOriginX,
f32 worldOriginY,
f32 worldOriginZ,
49 f32 worldDirX,
f32 worldDirY,
f32 worldDirZ,
50 f32 screenOriginX,
f32 screenOriginY,
f32 screenOriginZ,
51 f32 screenDirX,
f32 screenDirY,
f32 screenDirZ);
Core type definitions and utilities for ESEngine.
Central container for all entities and components.
void transform_update(ecs::Registry ®istry)
f32 getUINodeAlphaInTree(ecs::Registry ®istry, u32 entity)
f32 uiNode_computedWidth(ecs::Registry &r, u32 e)
void uiRenderOrder_update(ecs::Registry ®istry)
u32 uiHitTest_pickAll(ecs::Registry ®istry, f32 worldX, f32 worldY)
std::int32_t i32
Signed 32-bit integer.
u32 uiHitTest_pick(ecs::Registry ®istry, f32 worldX, f32 worldY)
bool ui_isScreenDomain(ecs::Registry ®istry, u32 entity)
Whether entity belongs to the SCREEN rather than to the world.
f32 uiNode_computedHeight(ecs::Registry &r, u32 e)
bool transform_copyFlatRenderMatrix(ecs::Registry ®istry, u32 entity, uintptr_t outputPtr)
f32 getUINodeComputedWidth(ecs::Registry ®istry, u32 entity)
void uiHitTest_update(ecs::Registry ®istry, f32 originX, f32 originY, f32 originZ, f32 dirX, f32 dirY, f32 dirZ)
void 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,...
u32 uiHitTest_pickResult(u32 index)
bool uiLayout_update(ecs::Registry ®istry, f32 boxLeft, f32 boxBottom, f32 boxRight, f32 boxTop, bool propertyDirty)
const std::unordered_map< u32, i32 > * uiTreeLayers()
u32 uiHitTest_getHitEntity()
std::uint32_t u32
Unsigned 32-bit integer.
f32 getUINodeComputedHeight(ecs::Registry ®istry, u32 entity)
bool getUINodeHiddenInTree(ecs::Registry ®istry, u32 entity)
bool uiHitTest_inputsChanged(ecs::Registry ®istry)
i32 ui_getRenderOrder(ecs::Registry ®istry, u32 entity)
u32 ui_getCullBit(ecs::Registry ®istry, u32 entity)
float f32
32-bit floating point