docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Field Quantized

    floating point number can be serialized in two ways:

    - as a full 32bit raw value

    - as a fixed-point number, with a given precision (see Quantization)

    The use of quantization requires special handling by the code-generation and in particular the code in the template file must uses certain rules. You should set this flag to true if the type-template combination should be used for quantized types.
    Namespace: Unity.NetCode.Generators
    Assembly: solution.dll
    Syntax
    public bool Quantized
    Returns
    Type Description
    bool
    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)