ドキュメント

Unity Engine

Download Unity

Unity Engine

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

Applies a set of entity patches.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.