docs.unity3d.com
    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
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023