docs.unity3d.com
    Show / Hide Table of Contents

    Class CustomColorData

    Inheritance
    Object
    CustomColorData
    Namespace: UnityEditor.ShaderGraph.Drawing.Colors
    Syntax
    public class CustomColorData : ISerializationCallbackReceiver

    Methods

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()

    Remove(String)

    Declaration
    public void Remove(string provider)
    Parameters
    Type Name Description
    String provider

    Set(String, Color)

    Declaration
    public void Set(string provider, Color color)
    Parameters
    Type Name Description
    String provider
    Color color

    TryGetColor(String, out Color)

    Declaration
    public bool TryGetColor(string provider, out Color color)
    Parameters
    Type Name Description
    String provider
    Color color
    Returns
    Type Description
    Boolean
    Back to top
    Terms of use
    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