docs.unity3d.com
    Show / Hide Table of Contents

    Namespace UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.State

    Classes

    AffordanceStateShortcuts

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

    BaseAffordanceStateProvider

    Base state machine for scheduling tween jobs on registered receivers. Starts when affordance state updates and new tweens need computing. Stops when transitions are complete.

    XRInteractableAffordanceStateProvider

    State Machine component that derives an interaction affordance state from an associated IXRInteractable.

    XRInteractorAffordanceStateProvider

    State Machine component that derives an interaction affordance state from an associated IXRInteractor.

    Structs

    AffordanceStateData

    Struct to store affordance state data used to compute affordance transition tweens.

    Interfaces

    IMultiPokeStateDataProvider

    Multiplexed version of IPokeStateDataProvider that allows for multiple targets to be tracked with their own bindable poke state data.

    IPokeStateDataProvider

    This provider interface allows a source component to populate PokeStateData upon request to a component that is bound to the pokeStateData bindable variable that provides state data about a poke interaction. Typically this is needed by an affordance listener for poke.

    Enums

    XRInteractableAffordanceStateProvider.ActivateClickAnimationMode

    Animation mode options used for activate state callbacks.

    XRInteractableAffordanceStateProvider.SelectClickAnimationMode

    Animation mode options used for select state callbacks.

    XRInteractorAffordanceStateProvider.ActivateClickAnimationMode

    Animation mode options used for activate state callbacks.

    XRInteractorAffordanceStateProvider.SelectClickAnimationMode

    Animation mode options used for select state callbacks.

    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