ScreenFadeData
此内容尚不支持你的语言。
Defined in: sdk/src/ui/core/screen-fade.ts:22
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”amount
Section titled “amount”amount:
number
Defined in: sdk/src/ui/core/screen-fade.ts:24
How far the screen is faded, 0 (clear) to 1 (the colour).
color:
Color
Defined in: sdk/src/ui/core/screen-fade.ts:26
The colour faded to.