34 tooltip=
"Cut to the sprite's shape instead of its box: fragments below this alpha do not mask.")
38 ES_PROPERTY(tooltip=
"Limit how far this mask reaches; off = every sprite drawn after it.")
42 ES_PROPERTY(step=1, enum_source=sortingLayers, shown_when=limitRange:
true,
43 tooltip=
"Last sorting layer this mask reaches.")
47 ES_PROPERTY(step=1, min=-128, max=127, shown_when=limitRange:
true,
48 tooltip=
"Last order inside that layer this mask reaches, inclusive.")
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_PROPERTY(...)
Mark a field as a property that should be exposed to scripts.
Core type definitions and utilities for ESEngine.
std::int32_t i32
Signed 32-bit integer.
float f32
32-bit floating point
A stencil cut from this entity's own Sprite.
bool enabled
Off is not a mask at all: the sprite goes back to being drawn normally, which is what makes "is this ...
i32 rangeEndOrder
Last order WITHIN that layer, inclusive.
i32 rangeEndLayer
Last sorting layer this mask reaches.
bool limitRange
Stop reaching at a stated layer/order instead of running to the end of the frame.
f32 alphaCutoff
Above 0, cut to the sprite's SHAPE — fragments below this alpha do not mask.