docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TransformVariantMaxPrecision

    Variant used to disable quantization for your transforms. Useful for cases that require high precision like physics. This will use a substantial amount of additional bandwidth, you should consider trying to smooth prediction errors before using this variant.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode
    Assembly: Unity.NetCode.dll
    Syntax
    [GhostComponentVariation(typeof(LocalTransform), "Transform 3D - Unquantized", false)]
    [MovedFrom(true, "Unity.NetCode", null, null)]
    public struct TransformVariantMaxPrecision : IComponentData, IQueryTypeParameter

    Fields

    Position

    Position replicated with max float precision

    Declaration
    public float3 Position
    Field Value
    Type Description
    float3

    Rotation

    Rotation replicated with max float precision

    Declaration
    public quaternion Rotation
    Field Value
    Type Description
    quaternion

    Scale

    Scale replicated with max float precision

    Declaration
    public float Scale
    Field Value
    Type Description
    float

    Implements

    Unity.Entities.IComponentData
    Unity.Entities.IQueryTypeParameter
    In This Article
    Back to top
    Copyright © 2026 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)