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 | |
IntPtr | snapshotData | |
int | snapshotOffset | |
int | snapshotStride | |
IntPtr | componentData | |
int | componentStride | |
int | count |