Class: ChatLog

ChatLog()

Chat log with TextArea and TextAreaInput, attached by to HUD. By default alligned to left side of the screen.

Constructor

new ChatLog()

Source:

Classes

ChatLog

Members

activeInstance :ChatLog

Type:
Source:

Methods

(static) findInstance() → {ChatLog}

Source:
Returns:
Type
ChatLog

addListener()

Add a listener to be called when input text is changed
Source:

dispose()

Clean up
Source:

handleResize()

Handle window resize, recalculates the current anchor and positions appropriatelly.
Source:

isSelectableMesh()

XR pointer selection support
Source:

leftSide()

Move to left side of the screen
Source:

log(who, what, link)

Log something written by someone.
Parameters:
Name Type Description
who String who wrote that
what String what they wrote
link String optional url to open
Source:

moveToAnchor()

Move either left or right, whatever is the current anchor
Source:

removeListener()

Remove a listener
Source:

rightSide()

Move to right side of the screen
Source:

show()

Show both TextArea and TextAreaInput, and attach to HUD.
Source: