docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field UseQuaternionCompression

    Enabled this on the authority side for quaternion compression

    Namespace: Unity.Netcode.Components
    Assembly: solution.dll
    Syntax
    [Tooltip("When enabled, this uses a smallest three implementation that reduces full Quaternion updates down to the size of an unsigned integer (ignores half float precision settings).")]
    public bool UseQuaternionCompression
    Returns
    Type Description
    bool
    Remarks

    This has a lower precision than half float precision. Recommended only for low precision scenarios. UseHalfFloatPrecision provides better precision at roughly half the cost of a full quaternion update. This is synchronized by authority. During runtime, this should only be changed by the authoritative side. Non-authoritative instances will be overridden by the next authoritative state update.

    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)