Struct TransformDefaultVariant
The default serialization strategy for the LocalTransform components provided by the NetCode package.
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
[Preserve]
[GhostComponentVariation(typeof(LocalTransform), "Transform - 3D", false)]
public struct TransformDefaultVariant
Fields
Name | Description |
---|---|
Position | The position value is replicated with a default quantization unit of 1000 (so roughly 1mm precision per component). The replicated position value support both interpolation and extrapolation |
Rotation | The rotation quaternion is replicated and the resulting floating point data use for replication the rotation is quantized with good precision (10 or more bits per component) |
Scale | The scale value is replicated with a default quantization unit of 1000. The replicated scale value support both interpolation and extrapolation |