docs.unity.cn
    Show / Hide Table of Contents

    Delegate GhostComponentSerializer.SerializeChildDelegate

    Delegate method used to serialize the component data present in the child entity into the outgoing data stream. Works on a single entity at time.

    Namespace: Unity.NetCode.LowLevel.Unsafe
    Syntax
    public delegate void SerializeChildDelegate(IntPtr stateData, IntPtr snapshotData, int snapshotOffset, int snapshotStride, int maskOffsetInBits, IntPtr componentData, 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 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