docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Interp

    Interp(Color, Color, float)

    Interpolates between two Color values.

    Declaration
    public override void Interp(Color from, Color to, float t)
    Parameters
    Type Name Description
    Color from

    The start value.

    Color to

    The end value.

    float t

    The interpolation factor in range [0,1].

    Overrides
    VolumeParameter<Color>.Interp(Color, Color, float)
    Remarks

    For performance reasons, this function interpolates the RGBA channels directly.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)