Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FEntityManager
Description
Attempt to allocate a number of entities of the same type contiguously in memory
May allocate fewer than the desired number due to allocation capacity constraints. As such, subsequent calls may be required.
| Name | AllocateContiguousEntities |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityManager.h |
| Include Path | #include "EntitySystem/MovieSceneEntityManager.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneEntityManager.cpp |
FEntityDataLocation AllocateContiguousEntities
(
const FComponentMask & EntityComponentMask,
int32 * InOutNum
)
A structure that points to the first entity that was allocated.
Parameters
| Name | Remarks |
|---|---|
| EntityComponentMask | Defines the components that should exist on the allocated components. Set bits denote allocated components and tags. |
| InOutNum | A valid pointer to the desired number to allocate. Is overwritten with the number that were actually allocated. |