Classes
Members
activeInstance :ChatLog
Type:
- Source:
Methods
(static) findInstance(title, nameopt) → {ChatLog}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
title |
string | |||
name |
string |
<optional> |
"ChatLog" |
- Source:
Returns:
- Type
- ChatLog
(static) getInstance(scene, title, nameopt) → {ChatLog}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
scene |
* | |||
title |
string | main | ||
name |
string |
<optional> |
"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 |
object | metadata of the link |
- 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: