Protected_awokenProtected_enabledReadonlyentityComponent user data
Set color
Indicates whether the component is enabled.
Set whether the component is enabled.
Set height. uint: m
Set intensity. uint: candela
Get three.js RectAreaLight
Set local position.
Set power. uint: lumen, lumen = PI * width * height * intensity
Set quaternion
Set rotation
Set watts. uint: watt, ( intensity = ( watt * 683 ) / ( PI * width * height ) )
Set width. uint: m
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
RectAreaLight component
Export
RectAreaLight
Date
2024.1.3
Author
yisky