UIVisualData
Defined in: ui/core/ui-visual.ts:32
core-ui.ts
The stable UI surface promoted into the top-level esengine
namespace (text, UINode box visuals, interaction, layout, theme).
This is the curated public UI API. The complete UI module surface — which
also includes low-level text/atlas internals and engine-internal composition
glue (e.g. EntityStateMap, ensureComponent) — lives in
./ui and is imported module-directly by the SDK code that needs it. Those
internals are intentionally NOT re-exported here, so the public esengine
namespace stays a stable, intentional surface.
Re-exported wholesale by core.ts.
Properties
Section titled “Properties”color:
Color
Defined in: ui/core/ui-visual.ts:35
enabled
Section titled “enabled”enabled:
boolean
Defined in: ui/core/ui-visual.ts:51
fillAmount
Section titled “fillAmount”fillAmount:
number
Defined in: ui/core/ui-visual.ts:49
Filled: visible fraction [0,1].
fillMethod
Section titled “fillMethod”fillMethod:
FillMethod
Defined in: ui/core/ui-visual.ts:45
Filled: axis to crop along.
fillOrigin
Section titled “fillOrigin”fillOrigin:
FillOrigin
Defined in: ui/core/ui-visual.ts:47
Filled: edge the fill grows from.
material
Section titled “material”material:
number
Defined in: ui/core/ui-visual.ts:50
sliceBorder
Section titled “sliceBorder”sliceBorder:
Vec4
Defined in: ui/core/ui-visual.ts:41
NineSlice border (texture metadata wins when present).
texture
Section titled “texture”texture:
number
Defined in: ui/core/ui-visual.ts:34
tileSize
Section titled “tileSize”tileSize:
Vec2
Defined in: ui/core/ui-visual.ts:43
Tiled: texture repeats every tileSize px of the box.
uvOffset
Section titled “uvOffset”uvOffset:
Vec2
Defined in: ui/core/ui-visual.ts:37
Base UV sub-region offset (identity = whole texture).
uvScale
Section titled “uvScale”uvScale:
Vec2
Defined in: ui/core/ui-visual.ts:39
Base UV sub-region scale (identity = whole texture).
visualType
Section titled “visualType”visualType:
UIVisualType
Defined in: ui/core/ui-visual.ts:33