docs.unity3d.com
    Show / Hide Table of Contents

    Class AffordanceStateShortcuts

    Affordance state shortcuts to facilitate the use of affordance state indices in an enum-like way.

    Inheritance
    Object
    AffordanceStateShortcuts
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.State
    Syntax
    public static class AffordanceStateShortcuts

    Fields

    activated

    Activated state index.

    Declaration
    public const byte activated = 5
    Field Value
    Type Description
    Byte

    disabled

    Disabled state index.

    Declaration
    public const byte disabled = 0
    Field Value
    Type Description
    Byte

    focused

    Focused state index.

    Declaration
    public const byte focused = 6
    Field Value
    Type Description
    Byte

    hovered

    Hovered state index.

    Declaration
    public const byte hovered = 2
    Field Value
    Type Description
    Byte

    hoveredPriority

    Hovered Priority state index.

    Declaration
    public const byte hoveredPriority = 3
    Field Value
    Type Description
    Byte

    idle

    Idle State index.

    Declaration
    public const byte idle = 1
    Field Value
    Type Description
    Byte

    selected

    Selected state index.

    Declaration
    public const byte selected = 4
    Field Value
    Type Description
    Byte

    Properties

    activatedState

    Default activated state data.

    Declaration
    public static AffordanceStateData activatedState { get; }
    Property Value
    Type Description
    AffordanceStateData

    disabledState

    Default disabled affordance state data.

    Declaration
    public static AffordanceStateData disabledState { get; }
    Property Value
    Type Description
    AffordanceStateData

    focusedState

    Default focused state data.

    Declaration
    public static AffordanceStateData focusedState { get; }
    Property Value
    Type Description
    AffordanceStateData

    hoveredPriorityState

    Default hovered priority state data.

    Declaration
    public static AffordanceStateData hoveredPriorityState { get; }
    Property Value
    Type Description
    AffordanceStateData

    hoveredState

    Default hovered state data.

    Declaration
    public static AffordanceStateData hoveredState { get; }
    Property Value
    Type Description
    AffordanceStateData

    idleState

    Default idle affordance state data.

    Declaration
    public static AffordanceStateData idleState { get; }
    Property Value
    Type Description
    AffordanceStateData

    selectedState

    Default selected state data.

    Declaration
    public static AffordanceStateData selectedState { get; }
    Property Value
    Type Description
    AffordanceStateData
    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