FEntityManager::AllocateContiguousEntities

Attempt to allocate a number of entities of the same type contiguously in memory @note May allocate fewer than the desired number due to allocation capacity constraints.

Windows
MacOS
Linux

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

Syntax

FEntityDataLocation AllocateContiguousEntities
(
    const FComponentMask & EntityComponentMask,
    int32 * InOutNum
)

Remarks

Attempt to allocate a number of entities of the same type contiguously in memory @note May allocate fewer than the desired number due to allocation capacity constraints. As such, subsequent calls may be required.

allocated components and tags.

Returns

A structure that points to the first entity that was allocated.

Parameters

Parameter

Description

EntityComponentMask

Defines the components that should exist on the allocated components. Set bits de

InOutNum

A valid pointer to the desired number to allocate. Is overwritten with the number that were actually allocated.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss