Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/EntitySystem > API/Runtime/MovieScene/EntitySystem/FEntityManager
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityManager.h |
| Include | #include "EntitySystem/MovieSceneEntityManager.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneEntityManager.cpp |
FEntityDataLocation AllocateContiguousEntities
(
const FComponentMask & EntityComponentMask,
int32 * InOutNum
)
Remarks
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. A structure that points to the first entity that was allocated.
Parameters
| Name | Description |
|---|---|
| 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. |