Skip to content

PostEffectPackage

extends Component

Used to define post-processing effects.

成员变量

PostEffectPackage.postEffects : PostEffectBase[]
(Read-only) Post-processing list.

成员方法

PostEffectPackage.GetPostEffectByDefine ( value : PostEffectDefine ) : PostEffectBase
Get the post-processing object based on the post-processing effect.
PostEffectPackage.SetEnable ( value : PostEffectDefine , enable : boolean ) : void
Set the enable status of the specified post-processing effect.
PostEffectPackage.AddPostEffect ( value : PostEffectDefine ) : PostEffectBase
Add post-processing effects.
PostEffectPackage.AddPostEffectObject ( value : PostEffectBase ) : void
Add a post-processing object.
PostEffectPackage.GetEnable ( value : PostEffectDefine ) : boolean
Get whether the specified post-processing effect is enabled.