Class ChromaticAberration | Post Processing | 2.3.0
docs.unity3d.com
    Show / Hide Table of Contents

    Class ChromaticAberration

    This class holds settings for the Chromatic Aberration effect.

    Inheritance
    Object
    PostProcessEffectSettings
    ChromaticAberration
    Inherited Members
    PostProcessEffectSettings.active
    PostProcessEffectSettings.enabled
    PostProcessEffectSettings.SetAllOverridesTo(Boolean, Boolean)
    PostProcessEffectSettings.GetHash()
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    [Serializable]
    public sealed class ChromaticAberration : PostProcessEffectSettings

    Fields

    fastMode

    If true, it will use a faster variant of the effect for improved performances.

    Declaration
    public BoolParameter fastMode
    Field Value
    Type Description
    BoolParameter

    intensity

    The amount of tangential distortion.

    Declaration
    public FloatParameter intensity
    Field Value
    Type Description
    FloatParameter

    spectralLut

    A texture used for custom fringing color (it will use a default one when null).

    Declaration
    public TextureParameter spectralLut
    Field Value
    Type Description
    TextureParameter

    Methods

    IsEnabledAndSupported(PostProcessRenderContext)

    Returns true if the effect is currently enabled and supported.

    Declaration
    public override bool IsEnabledAndSupported(PostProcessRenderContext context)
    Parameters
    Type Name Description
    PostProcessRenderContext context

    The current post-processing render context

    Returns
    Type Description
    Boolean

    true if the effect is currently enabled and supported

    Overrides
    PostProcessEffectSettings.IsEnabledAndSupported(PostProcessRenderContext)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023