Method PatchEntities
PatchEntities(EntityRemapUtility.EntityPatchInfo*, Int32, EntityRemapUtility.BufferEntityPatchInfo*, Int32, Byte*, Int32, ref NativeArray<EntityRemapUtility.EntityRemapInfo>)
Applies a set of entity patches.
Declaration
public static void PatchEntities(EntityRemapUtility.EntityPatchInfo*scalarPatches, int scalarPatchCount, EntityRemapUtility.BufferEntityPatchInfo*bufferPatches, int bufferPatchCount, byte *chunkBuffer, int entityCount, ref NativeArray<EntityRemapUtility.EntityRemapInfo> remapping)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityRemapUtility.EntityPatchInfo* | scalarPatches | The scalar patches to apply. |
| Int32 | scalarPatchCount | The number of scalar patches. |
| EntityRemapUtility.BufferEntityPatchInfo* | bufferPatches | The buffer patches to apply. |
| Int32 | bufferPatchCount | The number of buffer patches. |
| Byte* | chunkBuffer | The chunk buffer, where the patches are applied. |
| Int32 | entityCount | The number of entities in the chunk. |
| NativeArray<EntityRemapUtility.EntityRemapInfo> | remapping | The remapping array. |