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