docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field IsSlerp

    Use Slerp(Quaternion, Quaternion, float) when true. Use Lerp(Quaternion, Quaternion, float) when false

    Namespace: Unity.Netcode
    Assembly: solution.dll
    Syntax
    public bool IsSlerp
    Returns
    Type Description
    bool
    Remarks

    When using half precision (due to the imprecision) using Lerp(Quaternion, Quaternion, float) is less processor intensive (i.e. precision is already "imprecise"). When using full precision (to maintain precision) using Slerp(Quaternion, Quaternion, float) is more processor intensive yet yields more precise results.

    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)