docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ISynchronousAffordanceStateReceiver

    An interface that represents an affordance receiver that processes a tween then updates the affordance state according to the tween output. Does not schedule jobs with the job system.

    Inherited Members
    IAffordanceStateReceiver.currentAffordanceStateData
    IAffordanceStateReceiver.OnAffordanceStateUpdated(AffordanceStateData, AffordanceStateData)
    Namespace: UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.Receiver
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public interface ISynchronousAffordanceStateReceiver : IAffordanceStateReceiver

    Methods

    HandleTween(float)

    Compute new tween target using theme data and consume it inline to update listeners with new affordance value.

    Declaration
    void HandleTween(float tweenTarget)
    Parameters
    Type Name Description
    float tweenTarget

    Tween interpolation target based on delta time parameter.

    See Also
    IAsyncAffordanceStateReceiver
    BaseSynchronousAffordanceStateReceiver<T>

    See Also

    IAsyncAffordanceStateReceiver
    BaseSynchronousAffordanceStateReceiver<T>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)