docs.unity.cn
    Show / Hide Table of Contents

    Delegate GhostComponentSerializer.SerializeDelegate

    Delegate method used to serialize the component data for the root entity into the outgoing data stream. Works in batches.

    Namespace: Unity.NetCode.LowLevel.Unsafe
    Syntax
    public delegate void SerializeDelegate(IntPtr stateData, IntPtr snapshotData, int snapshotOffset, int snapshotStride, int maskOffsetInBits, IntPtr componentData, int componentStride, int count, IntPtr baselines, ref DataStreamWriter writer, ref StreamCompressionModel compressionModel, IntPtr entityStartBit);
    Parameters
    Type Name Description
    IntPtr stateData
    IntPtr snapshotData
    Int32 snapshotOffset
    Int32 snapshotStride
    Int32 maskOffsetInBits
    IntPtr componentData
    Int32 componentStride
    Int32 count
    IntPtr baselines
    DataStreamWriter writer
    StreamCompressionModel compressionModel
    IntPtr entityStartBit
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023