UIMask¶
Classes¶
- UIMask : NativeComponent¶
Note
UIImage component is automatically added to the node if it is not already present
Component that defines a mask for UI elements, controlling which parts of UI elements are visible.
- Properties:
- UIMask.enabled: bool¶
- UIMask.enabled =(value: bool)¶
Whether the mask is enabled and applied to UI elements.
- Arguments:
value : bool
- UIMask.showMaskSource: bool¶
- UIMask.showMaskSource =(value: bool)¶
If true, the mask is rendered as a source mask; if false, as a destination mask.
- Arguments:
value : bool