{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct TransformDefaultVariant | Netcode for Entities | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TransformDefaultVariant

    The default serialization strategy for the LocalTransform components provided by the NetCode package.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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

    In This Article
    Back to top
    Copyright © 2023 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)