docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ConvertLinearToActiveColorSpace

    ConvertLinearToActiveColorSpace(Color)

    Converts the provided linear color to the current active color space.

    Declaration
    public static Color ConvertLinearToActiveColorSpace(Color color)
    Parameters
    Type Name Description
    Color color

    Input color.

    Returns
    Type Description
    Color

    sRGB color if the active color space is ColorSpace.Gamma, the original input otherwise.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 06 October 2023