Readonly
blendThe blend mode of this effect.
模糊通道
OutlineEffectAlternative
主相机
OutlineEffectAlternative
清理通道
OutlineEffectAlternative
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.
遮罩通道1
OutlineEffectAlternative
遮罩通道2
OutlineEffectAlternative
The name of this effect.
描边通道
OutlineEffectAlternative
闪烁间隔
OutlineEffectAlternative
渲染目标图层
OutlineEffectAlternative
修改颜色值
OutlineEffectAlternative
渲染描边
OutlineEffectAlternative
Protected
rendererThe renderer.
主场景
OutlineEffectAlternative
选择器
OutlineEffectAlternative
时间
OutlineEffectAlternative
Readonly
uniformsShader uniforms.
Call setChanged after adding or removing uniforms.
获取边强度
OutlineEffectAlternative
设置边强度
OutlineEffectAlternative
获取不可见边颜色
OutlineEffectAlternative
设置不可见边颜色
OutlineEffectAlternative
Experimental
The input color space.
Protected
Experimental
设置主相机
OutlineEffectAlternative
设置主场景
OutlineEffectAlternative
获取多重采样次数
OutlineEffectAlternative
设置多重采样次数
OutlineEffectAlternative
Experimental
The output color space.
Should only be changed if this effect converts the input colors to a different color space.
Protected
Experimental
获取描边图案缩放
OutlineEffectAlternative
设置描边图案缩放
OutlineEffectAlternative
获取描边图案纹理
OutlineEffectAlternative
设置描边图案纹理
OutlineEffectAlternative
获取分辨率
OutlineEffectAlternative
获取可见边颜色
OutlineEffectAlternative
设置可见边颜色
OutlineEffectAlternative
获取是否开启X-Ray模式
OutlineEffectAlternative
设置是否开启X-Ray模式
OutlineEffectAlternative
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Fire an event type.
The event that gets fired.
Performs a shallow search for properties that define a dispose method and deletes them.
The EffectComposer calls this method when it is being destroyed.
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
自定义描边后处理效果(不通过深度对比 可以描边片元着色物体)
Export
Date
2025.10.16
Author
lyx