Class AffordanceVisibilityDefinition | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class AffordanceVisibilityDefinition

    Definition containing data utilized to change the visual appearance of an affordance for various actions

    Inheritance
    Object
    AffordanceVisibilityDefinition
    Namespace: UnityEditor.Experimental.EditorVR.Core
    Syntax
    [Serializable]
    public class AffordanceVisibilityDefinition

    Fields

    affordanceVisibilityCoroutine

    The coroutine that performs animated visibility changes for this affordance

    Declaration
    public Coroutine affordanceVisibilityCoroutine
    Field Value
    Type Description
    Coroutine

    Properties

    alphaProperty

    The name of the shader parameter utilized to animate alpha changes to this affordance, if the visibility type is set to ALPHA

    Declaration
    public string alphaProperty { get; }
    Property Value
    Type Description
    String

    colorProperty

    The name of the shader parameter utilized to animate color changes to this affordance, if the visibility type is set to COLOR

    Declaration
    public string colorProperty { get; }
    Property Value
    Type Description
    String

    hiddenAlpha

    The hidden alpha value of the material

    Declaration
    public float hiddenAlpha { get; }
    Property Value
    Type Description
    Single

    hiddenColor

    The hidden color of the material

    Declaration
    public Color hiddenColor { get; }
    Property Value
    Type Description
    Color

    hiddenMaterial

    The material to with which to swap instead of animating visibility (material blending is not supported)

    Declaration
    public Material hiddenMaterial { get; }
    Property Value
    Type Description
    Material

    visibilityType

    The type of visibility changes that will be performed on this affordance (color change, alpha change, material swap, etc)

    Declaration
    public ProxyAffordanceMap.VisibilityControlType visibilityType { get; }
    Property Value
    Type Description
    ProxyAffordanceMap.VisibilityControlType
    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