|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <UIMask.hpp>
Public Attributes | |
| bool | enabled {true} |
| MaskMode | mode {MaskMode::Scissor} |
| f32 | alphaCutoff {0.0f} |
Definition at line 17 of file UIMask.hpp.
| f32 esengine::ecs::UIMask::alphaCutoff {0.0f} |
Stencil mode only: clip to the SHAPE this node draws rather than its box. 0 (default) keeps the box, as a plain rounded panel wants; above 0, fragments whose alpha is below the cutoff write no stencil, so a circular sprite masks a circle, as an avatar frame needs.
Definition at line 29 of file UIMask.hpp.
Referenced by uimaskApplyJS(), and uimaskToJS().
| bool esengine::ecs::UIMask::enabled {true} |
Definition at line 19 of file UIMask.hpp.
Referenced by uimaskApplyJS(), and uimaskToJS().
| MaskMode esengine::ecs::UIMask::mode {MaskMode::Scissor} |
Definition at line 21 of file UIMask.hpp.
Referenced by uimaskApplyJS(), and uimaskToJS().