Class EntityRemapUtility
Utility class to remap Entity IDs.
Inheritance
EntityRemapUtility
Assembly: Unity.Entities.dll
Syntax
public static class EntityRemapUtility
Methods
Name |
Description |
AddEntityRemapping(ref NativeArray<EntityRemapInfo>, Entity, Entity)
|
Adds a new EntityRemapUtility.EntityRemapInfo element to a remapping array.
|
AppendBufferEntityPatches(BufferEntityPatchInfo*, EntityOffsetInfo*, int, int, int, int)
|
Adds EntityRemapUtility.BufferEntityPatchInfo elements for each of the input offsets.
|
AppendEntityPatches(EntityPatchInfo*, EntityOffsetInfo*, int, int, int)
|
Adds EntityRemapUtility.EntityPatchInfo elements for each of the input offsets.
|
CalculateFieldOffsetsUnmanaged(Type, out bool, out bool, out bool, ref NativeList<EntityOffsetInfo>, ref NativeList<EntityOffsetInfo>, ref NativeList<EntityOffsetInfo>, ref NativeList<EntityOffsetInfo>, HashSet<Type>)
|
Calculates the field offsets.
|
GetTargets(out NativeArray<Entity>, NativeArray<EntityRemapInfo>)
|
Gets the array of Entity targets from an array of EntityRemapUtility.EntityRemapInfo.
|
HasEntityReferencesManaged(Type, out HasRefResult, out HasRefResult, Dictionary<Type, EntityBlobRefResult>, int)
|
Checks if a type has any Entity or BlobAssetReferenceData references.
|
PatchEntities(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, ref NativeArray<EntityRemapInfo>)
|
Applies a set of entity patches.
|
PatchEntitiesForPrefab(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, int, Entity*, Entity*, int)
|
Applies a set of patches, remapping the internal prefab entities.
|
RemapEntity(ref NativeArray<EntityRemapInfo>, Entity)
|
Remaps a source Entity using the EntityRemapUtility.EntityRemapInfo array.
|
RemapEntity(EntityRemapInfo*, Entity)
|
Remaps an entity using the EntityRemapUtility.EntityRemapInfo array.
|
RemapEntityForPrefab(Entity*, Entity*, int, Entity)
|
Remaps the internal Entity references when instantiating a prefab.
|