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