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 |