Skip to main content

InworldUIElement

Module: Inworld.AI. Namespace: Inworld.UI.

This is the base class used in rendering UI element in the runtime.

Variables

VariablesDescription
Iconthe icon used in the UI element.
Titlethe title text in the UI element.

Properties

PropertiesDescription
HeightGets the bubble's height.
IconGet/Set the Thumbnail of the bubble. NOTE: For the worldspace's floating text, Icon will not be displayed.
TitleGets/Sets the name of the thumbnail.

API

FunctionsDescriptionParameters
SetBubbleSet the bubble's property.charName: The bubble's owner's name.
thumbnail: The bubble's owner's thumbnail.
text:The bubble's content
SetBubbleWithPacketInfoSet the bubble's property by InworldPacketcharName:The bubble's owner's name
interactionID:The bubble's interaction ID
correlationID: The bubble's correlation ID
thumbnailThe bubble's owner's thumbnail.
text: The bubble's content.
AttachBubbleAttach text to the current bubble.text: the text to add.