AttachmentPanelComponent
class AttachmentPanelComponent(context: Context, width: Int = WRAP_CONTENT, height: Int = WRAP_CONTENT, alignment: AttachmentPanelComponent.Alignment = Alignment.UNSPECIFIED) : Component
Component that allows attaching a 2D Android View to an Entity in spatial space.
Parameters
context
The Android context.
width
The width of the panel. Defaults to WRAP_CONTENT.
height
The height of the panel. Defaults to WRAP_CONTENT.
alignment
The alignment of the panel 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)