Delegate GhostComponentSerializer.CopyToFromSnapshotDelegate
Delegate method used to transfer the component data to/from the snapshot buffer.
Namespace: Unity.NetCode.LowLevel.Unsafe
Assembly: Unity.NetCode.dll
Syntax
public delegate void GhostComponentSerializer.CopyToFromSnapshotDelegate(IntPtr stateData, IntPtr snapshotData, int snapshotOffset, int snapshotStride, IntPtr componentData, int componentStride, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | stateData | State data |
| IntPtr | snapshotData | Snapshot data |
| int | snapshotOffset | Snapshot offset |
| int | snapshotStride | Snapshot stride |
| IntPtr | componentData | Component data |
| int | componentStride | Component stride |
| int | count | Count |