AttachmentPanelComponent
class AttachmentPanelComponent(width: Int = WRAP_CONTENT, height: Int = WRAP_CONTENT, alignment: AttachmentPanelComponent.Alignment = Alignment.UNSPECIFIED) : Component
Component that attaches a 2D Android View to an Entity in spatial space.
Parameters
width
The panel width. Defaults to WRAP_CONTENT.
height
The panel height. Defaults to WRAP_CONTENT.
alignment
The panel alignment relative to the entity.
Constructors
Link copied to clipboard
constructor(width: Int = WRAP_CONTENT, height: Int = WRAP_CONTENT, alignment: AttachmentPanelComponent.Alignment = Alignment.UNSPECIFIED)
constructor(context: Context, width: Int = WRAP_CONTENT, height: Int = WRAP_CONTENT, alignment: AttachmentPanelComponent.Alignment = Alignment.UNSPECIFIED)
Component that attaches a 2D Android View to an Entity in spatial space.
Types
Link copied to clipboard
Anchor point of the panel in normalized coordinates.
Link copied to clipboard
object Companion
Static values and utilities for AttachmentPanelComponent.