InworldUIElement
Module: Inworld.AI. Namespace: Inworld.UI.
This is the base class used in rendering UI element in the runtime.
Variables
Variables | Description |
---|---|
Icon | the icon used in the UI element. |
Title | the title text in the UI element. |
Properties
Properties | Description |
---|---|
Height | Gets the bubble's height. |
Icon | Get/Set the Thumbnail of the bubble. NOTE: For the worldspace's floating text, Icon will not be displayed. |
Title | Gets/Sets the name of the thumbnail. |
API
Functions | Description | Parameters |
---|---|---|
SetBubble | Set the bubble's property. | charName: The bubble's owner's name. thumbnail: The bubble's owner's thumbnail. text:The bubble's content |
SetBubbleWithPacketInfo | Set the bubble's property by InworldPacket | charName: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. |
AttachBubble | Attach text to the current bubble. | text: the text to add. |