UiElement
(
bounds
, isInteractable
, id
)
|
Signature
constructor(bounds: Rect, isInteractable: Boolean = false, id: Long = -1) Parameters bounds: RectisInteractable: Booleanid: LongReturns UiElement |
bounds
: Rect
[Get] |
Pixel-space bounds of the element within the panel.
Signature
val bounds: Rect |
id
: Long
[Get] |
The InteractionNode ID from the HorizonOS interaction system.
Signature
val id: Long |
isInteractable
: Boolean
[Get] |
Whether this element responds to interaction (click, pinch, etc).
Signature
val isInteractable: Boolean = false |