Documentation

Unity Engine


Unity Engine


PatchEntities(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, ref NativeArray<EntityRemapInfo>)

Applies a set of entity patches.
Read time 1 minuteLast updated 19 hours ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

PatchEntities(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, NativeArray<EntityRemapInfo>)

public static void PatchEntities(EntityRemapUtility.EntityPatchInfo* scalarPatches, int scalarPatchCount, EntityRemapUtility.BufferEntityPatchInfo* bufferPatches, int bufferPatchCount, byte* chunkBuffer, int entityCount, ref NativeArray<EntityRemapUtility.EntityRemapInfo> remapping)

Parameters

scalarPatches

The scalar patches to apply.

scalarPatchCount

The number of scalar patches.

The buffer patches to apply.

bufferPatchCount

The number of buffer patches.

chunkBuffer

The chunk buffer, where the patches are applied.

entityCount

The number of entities in the chunk.

The remapping array.