AvatarInputs

Description

API to help manage your Avatar's input

Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts

Properties

Name Type Summary
cameraEnabled boolean Read-only.
cameraMuted boolean Read-only.
isHMD boolean Read-only.
showAudioTools boolean

Methods

Name Return Value Summary
loudnessToAudioLevel number
resetSensors None
setShowAudioTools None
toggleCameraMute None

Signals

Name Summary
cameraEnabledChanged
cameraMutedChanged
isHMDChanged
showAudioToolsChanged

Method Details

(static) loudnessToAudioLevel( loudness ) → {number}
Returns: number

Parameters

Name Type Description
loudness number
(static) resetSensors( )

(static) setShowAudioTools( showAudioTools )

Parameters

Name Type Description
showAudioTools boolean
(static) toggleCameraMute( )

Signal Details

cameraEnabledChanged( )
Returns: Signal

 

cameraMutedChanged( )
Returns: Signal

 

isHMDChanged( )
Returns: Signal

 

showAudioToolsChanged( show )
Returns: Signal

 

Parameters

Name Type Description
show boolean