Protected
_engineProtected
_entity用户数据
Component
获取颜色
PointLight
设置颜色
PointLight
获取衰减量
PointLight
设置衰减量
PointLight
获取强度衰减距离
PointLight
设置强度衰减距离(0表示永不衰减)
PointLight
获取组件是否启用
Component
启用或禁用组件
Component
设置点光辅助助手是否可见
已弃用,使用PointLightHelper代替
PointLight
获取强度,单位:candela(坎德拉)
PointLight
设置强度,单位:candela(坎德拉)
PointLight
获取位置
PointLight
设置位置
PointLight
获取光通量,单位:lumen(流明)
PointLight
设置光通量,单位:lumen(流明,lumen = 4 * PI * intensity)
PointLight
获取辐射通量,单位:watt(瓦)
PointLight
设置辐射通量,单位:watt(瓦,intensity = ( watt * 683 ) / ( 4 * PI ) )
PointLight
Protected
_onProtected
_onProtected
_onProtected
_on移除事件监听器
事件类型(不区分大小写)
Optional
callback: ((event) => void)事件监听回调(可选,不设置则表示移除所有监听器)
EventDispatcher
点光组件
Export