docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate GhostComponentSerializer.PostSerializeDelegate

    Delegate method to use to post-serialize the component when the ghost use pre-serialization optimization.

    Namespace: Unity.NetCode.LowLevel.Unsafe
    Assembly: Unity.NetCode.dll
    Syntax
    public delegate void GhostComponentSerializer.PostSerializeDelegate(IntPtr snapshotData, int snapshotOffset, int snapshotStride, int maskOffsetInBits, int count, IntPtr baselines, ref DataStreamWriter writer, ref StreamCompressionModel compressionModel, IntPtr entityStartBit)
    Parameters
    Type Name Description
    IntPtr snapshotData

    Snapshot data

    int snapshotOffset

    Snapshot offset

    int snapshotStride

    Snapshot stride

    int maskOffsetInBits

    Maskoffset in bits

    int count

    Count

    IntPtr baselines

    Snapshot baseline

    DataStreamWriter writer

    Datastream writer

    StreamCompressionModel compressionModel

    Compression model

    IntPtr entityStartBit

    Entity start bit

    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)