AttachmentPanelComponent
class AttachmentPanelComponent(context: Context, 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
context
The Android context.
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(context: Context, width: Int = WRAP_CONTENT, height: Int = WRAP_CONTENT, alignment: AttachmentPanelComponent.Alignment = Alignment.UNSPECIFIED)
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.