docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property weight

    weight

    The weight curve of this evaluator. Use this curve to configure the returned value of the GetWeightedScore(IXRInteractor, IXRInteractable) method.

    Declaration
    public AnimationCurve weight { get; set; }
    Property Value
    Type Description
    AnimationCurve
    Remarks

    The x-axis is the normalized score (calculated in CalculateNormalizedScore(IXRInteractor, IXRInteractable)) and the y-axis is the returned weighted score of this evaluator (in GetWeightedScore(IXRInteractor, IXRInteractable)).

    See Also
    GetWeightedScore(IXRInteractor, IXRInteractable)
    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)