Method PatchEntities
PatchEntities(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, ref NativeArray<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 |
---|---|---|
EntityPatchInfo* | scalarPatches | The scalar patches to apply. |
int | scalarPatchCount | The number of scalar patches. |
BufferEntityPatchInfo* | bufferPatches | The buffer patches to apply. |
int | bufferPatchCount | The number of buffer patches. |
byte* | chunkBuffer | The chunk buffer, where the patches are applied. |
int | entityCount | The number of entities in the chunk. |
NativeArray<EntityRemapUtility.EntityRemapInfo> | remapping | The remapping array. |