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
Assembly: Unity.NetCode.dll
Syntax
[Obsolete("The SerializeChildDelegate delegate has been deprecated and will be removed. Please use only use the SerializeDelegate instead", false)]
public delegate void GhostComponentSerializer.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 | State data |
IntPtr | snapshotData | Snapshot data |
int | snapshotOffset | Snapshot offset |
int | snapshotStride | Snapshot stride |
int | maskOffsetInBits | Maskoffset in bits |
IntPtr | componentData | Component data |
int | count | Count |
IntPtr | baselines | Snapshot baseline |
DataStreamWriter | writer | Datastream writer |
StreamCompressionModel | compressionModel | Compression model |
IntPtr | entityStartBit | Entity start bit |