Protected_awokenProtected_enabledReadonlyentityComponent user data
Set angle. uint: radians
Set color
Set decay
Set local direction
Set distance. uint: m
Indicates whether the component is enabled.
Set whether the component is enabled.
Set intensity. uint: candela
Get three.js SpotLight
Set penumbra
Set local position
Set power. uint: lumen, lumen = PI * intensity
Set local target position
Set watts. uint: watt, ( intensity = ( watt * 683 ) / PI )
Protected_onProtected_onProtected_onProtected_onUnsubscribe a event, if the callback param is not defined, all subscribers of this type will be removed.
Optionalcallback: SubscriberCallbackFnsubscriber callback
Subscribe a event
event type
callback functions
Optionaloptions: { options
Optionalpriority?: PriorityOptionaltarget?: anySubscribe a event, just emit once
subscriber callback
Optionalpriority?: PriorityOptionaltarget?: any
SpotLight
Export
SpotLight
Date
2024.1.3
Author
yisky