77 ES_PROPERTY(min=1, tooltip=
"World pixels per physics meter (Box2D + tile collider scale).")
81 ES_PROPERTY(tooltip=
"How the canvas adapts the design resolution to the screen.")
85 ES_PROPERTY(min=0, max=1, slider, tooltip=
"0 matches width, 1 matches height (Match mode only).")
94 ES_PROPERTY(step=1, enum_source=sortingLayers, tooltip=
"Sorting layer this UI belongs to — cameras cull by it.")
Math utilities and GLM configuration for ESEngine.
Reflection and metadata system for automatic binding generation.
#define ES_COMPONENT(...)
Mark a struct/class as a component that should be exposed to scripts.
#define ES_ENUM(...)
Mark an enum that should be exposed to scripts.
#define ES_PROPERTY(...)
Mark a field as a property that should be exposed to scripts.
Core type definitions and utilities for ESEngine.
CanvasScaleMode
Canvas scaling mode for different screen resolutions.
std::int32_t i32
Signed 32-bit integer.
std::uint8_t u8
Unsigned 8-bit integer.
float f32
32-bit floating point
glm::vec4 backgroundColor
Background color for letterbox/pillarbox areas.
CanvasScaleMode scaleMode
Scaling mode for different screen resolutions.
f32 pixelsPerUnit
World pixels per physics meter (e.g., 100 means 100px = 1 Box2D meter).
i32 layer
Sorting layer this canvas' UI belongs to, for Camera.cullingMask. Membership only — UI draw order com...
f32 matchWidthOrHeight
Match factor for Match scale mode (0 = width, 1 = height).
glm::uvec2 designResolution
Design resolution in pixels.