docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property destinationEvaluationProgress

    destinationEvaluationProgress

    A normalized representation of the current progress towards evaluating a destination anchor, depending on destinationEvaluationSettings. This value is 0 while not hovered. If enableDestinationEvaluationDelay is true, this value will start at 0 when initiating destination evaluation (either upon first hover or when re-evaluation occurs due to pollForDestinationChange) and will increase to 1 over the course of destinationEvaluationDelayTime seconds while hovered. Otherwise, this value will be 1 while hovered. This resets to 0 after the volume creates a teleport request.

    Declaration
    public float destinationEvaluationProgress { get; }
    Property Value
    Type Description
    float
    See Also
    enableDestinationEvaluationDelay
    destinationEvaluationDelayTime
    In This Article
    Back to top
    Copyright © 2023 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)