AvatarInputs

Available in: Interface Scripts Client Entity Scripts

API to help manage your Avatar's input
Methods

Signals

Properties:
Name Type Description
cameraEnabled boolean Read-only.
cameraMuted boolean Read-only.
isHMD boolean Read-only.
showAudioTools boolean

Methods

loudnessToAudioLevel(loudness) → {number}
Parameters:
Name Type Description
loudness number
Returns:
Type: number
resetSensors()
setShowAudioTools(showAudioTools)
Parameters:
Name Type Description
showAudioTools boolean
toggleCameraMute()

Signals

cameraEnabledChanged() → {Signal}
Returns:
Type: Signal
cameraMutedChanged() → {Signal}
Returns:
Type: Signal
isHMDChanged() → {Signal}
Returns:
Type: Signal
showAudioToolsChanged(show) → {Signal}
Parameters:
Name Type Description
show boolean
Returns:
Type: Signal