docs.unity3d.com
    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
    Syntax
    public interface ISynchronousAffordanceStateReceiver : IAffordanceStateReceiver

    Methods

    HandleTween(Single)

    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
    Single tweenTarget

    Tween interpolation target based on delta time parameter.

    See Also

    IAsyncAffordanceStateReceiver
    BaseSynchronousAffordanceStateReceiver<T>
    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