Documentation

Unity Engine


Unity Engine


AppendEntityPatches(EntityPatchInfo*, EntityOffsetInfo*, int, int, int)

Adds EntityRemapUtility.EntityPatchInfo elements for each of the input offsets.
Read time 1 minuteLast updated 18 hours ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static EntityRemapUtility.EntityPatchInfo* AppendEntityPatches(EntityRemapUtility.EntityPatchInfo* patches, TypeManager.EntityOffsetInfo* offsets, int offsetCount, int baseOffset, int stride)

Parameters

The patch array.

The offset array.

offsetCount

The number of offsets in the array.

baseOffset

The base offset of the patch.

stride

The stride of the patch.

Returns

Type

Description

EntityPatchInfo*Returns a pointer to the next free slot in the
patches
array.