Struct RotationOnlyVariant
A serialization strategy for LocalTransform that replicates only the entity Rotation.
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
[Preserve]
[GhostComponentVariation(typeof(LocalTransform), "RotationOnly - 3D", false)]
public struct RotationOnlyVariant
Fields
Name | Description |
---|---|
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) |