Properties
Protected _eventCallbackDicts
_eventCallbackDicts: {} = {}
Protected _subscriptions
_subscriptions: {} = {}
intensity
intensity: number
isActive
isActive: boolean
orbitRate
orbitRate: number
selectable
selectable: boolean
Static AObjectStateKeys
AObjectStateKeys: string[] = []
Static AObjectVersion
AObjectVersion: number = 1
Static DefaultIntensity
DefaultIntensity: number = 1
Static Events
Events: typeof AModelEvents = ...
Static NodeEvents
NodeEvents: typeof SceneNodeEvents = ...
Static SupportsUploadedModels
SupportsUploadedModels: boolean = false
Sets a callback function to be called whenever the state specified in state_key changes. The return value callbackSwitch is a callback switch. You can activate the listener with callbackSwitch.activate() and deactive with callbackSwitch.deactivate(). Example Usage: