docs.unity3d.com
    Show / Hide Table of Contents

    Enum ColorBlendMode

    Blend mode used by the color affordance receiver when applying the new color.

    Namespace: UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.Theme.Primitives
    Syntax
    public enum ColorBlendMode : byte

    Fields

    Name Description Value
    Solid

    Solid replaces existing colors.


    0
    Add

    Add adds the color to the initial color captured on start, using the blend amount value.


    1
    Mix

    Mix uses the blend amount to interpolate between the initial color captured on start and the target value.


    2
    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