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 |
---|---|---|
Entity |
scalarPatches | The scalar patches to apply. |
int | scalarPatchCount | The number of scalar patches. |
Buffer |
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. |
Native |
remapping | The remapping array. |