docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate GhostComponentSerializer.CopyToFromSnapshotDelegate

    Delegate method used to transfer the component data to/from the snapshot buffer.

    Namespace: Unity.NetCode.LowLevel.Unsafe
    Assembly: Unity.NetCode.dll
    Syntax
    public delegate void GhostComponentSerializer.CopyToFromSnapshotDelegate(IntPtr stateData, IntPtr snapshotData, int snapshotOffset, int snapshotStride, IntPtr componentData, int componentStride, int count)
    Parameters
    Type Name Description
    IntPtr stateData

    State data

    IntPtr snapshotData

    Snapshot data

    int snapshotOffset

    Snapshot offset

    int snapshotStride

    Snapshot stride

    IntPtr componentData

    Component data

    int componentStride

    Component stride

    int count

    Count

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