Protected
_awokenProtected
_enabledReadonly
entityComponent user data
Set color
Set decay
Set distance. uint: m
Indicates whether the component is enabled.
Set whether the component is enabled.
Set intensity. uint: candela
Get Three.js PointLight
Set local position
Set power. uint: lumen, lumen = 4 * PI * intensity
Set watts. uint: watt, ( intensity = ( watt * 683 ) / ( 4 * PI ) )
Protected
_onProtected
_onProtected
_onProtected
_onUnsubscribe a event, if the callback param is not defined, all subscribers of this type will be removed.
Optional
callback: SubscriberCallbackFnsubscriber callback
Subscribe a event
event type
callback functions
Optional
options: { options
Optional
priority?: PriorityOptional
target?: anySubscribe a event, just emit once
subscriber callback
Optional
priority?: PriorityOptional
target?: any
PointLight
Export
PointLight
Date
2024.1.3
Author
yisky