Readonly blendThe blend mode of this effect.
Readonly definesPreprocessor macro definitions.
Call setChanged after changing macro definitions.
Readonly extensionsWebGL extensions that are required by this effect.
Call setChanged after adding or removing extensions.
The name of this effect.
Protected rendererThe renderer.
遮挡检测选择器
LensFlareEffect
Readonly uniformsShader uniforms.
Call setChanged after adding or removing uniforms.
设置是否显示额外的光束/条纹。
LensFlareEffect
设置是否启用“变形”效果(电影感)。启用后,星芒会变成水平条纹。
LensFlareEffect
设置是否启用内部动画(闪烁)。
LensFlareEffect
设置炫光的增益颜色。
注:必须使用RGB格式颜色,即颜色的取值区间在[0 ~ 255]
LensFlareEffect
设置是否启用炫光效果。
LensFlareEffect
设置炫光光束的形状因子。影响星芒的拉伸感。
LensFlareEffect
设置整体炫光的强度/大小。
LensFlareEffect
设置炫光内部动画的速度。需要将animated设置为true才会生效。
LensFlareEffect
设置“鬼影”(次级光斑)的缩放 。控制沿中心分布的那些小光斑的大小。
LensFlareEffect
设置光斑的大小。
LensFlareEffect
设置光晕的缩放 。控制中心光斑周围大光环的半径。
LensFlareEffect
Experimental
The input color space.
Protected Experimental
设置炫光在3D 世界中的位置。
LensFlareEffect
设置主相机。
LensFlareEffect
设置主场景。
LensFlareEffect
设置不透明度。
LensFlareEffect
Experimental
The output color space.
Should only be changed if this effect converts the input colors to a different color space.
Protected Experimental
设置是否显示次级鬼影。
LensFlareEffect
设置是否显示星芒爆发效果。
LensFlareEffect
设置星芒的点数(角数)。
LensFlareEffect
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
禁用指定渲染组件的遮挡检测
渲染组件
是否递归
LensFlareEffect
禁用指定实体的遮挡检测
实体对象
是否递归
LensFlareEffect
Fire an event type.
The event that gets fired.
启用指定渲染组件的遮挡检测
渲染组件
是否递归
LensFlareEffect
启用指定实体的遮挡检测
实体对象
是否递归
LensFlareEffect
Returns the effect attributes.
The attributes.
Returns the WebGL extensions that are required by this effect.
The extensions.
Use extensions instead.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Protected setProtected
Sets the effect attributes.
Effects that have the same attributes will be executed in the order in which they were registered. Some attributes imply a higher priority.
The attributes.
Protected setProtected
Informs the associated EffectPass that this effect requires a shader recompilation.
Should be called after changing macros or extensions and after adding/removing uniforms.
Sets the depth texture.
You may override this method if your effect requires direct access to the depth texture that is bound to the associated EffectPass.
A depth texture.
Optional depthPacking: DepthPackingStrategiesThe depth packing.
Protected setProtected set切换指定渲染组件的遮挡检测状态
渲染组件
是否递归
LensFlareEffect
切换指定实体的遮挡检测状态
实体对象
是否递归
LensFlareEffect
镜头炫光后处理效果
Export
Date
2025.10.24
Author
lyx