文档

Unity Engine

Download Unity

Unity Engine

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

Adds EntityRemapUtility.EntityPatchInfo elements for each of the input offsets.
阅读时间1 分钟最后更新于 20 天前

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.