TEntityBuilderImpl< TIntegerSequence< int, Indices... >, T... >::CreateEntity

Create a new entity using this builder's definition by moving the payload components into the new entity.

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityBuilder.h

Include

#include "EntitySystem/MovieSceneEntityBuilder.h"

Syntax

FMovieSceneEntityID CreateEntity
(
    FEntityManager * EntityManager,
    FComponentMask NewType
)

Remarks

Create a new entity using this builder's definition by moving the payload components into the new entity. @note Will invalidate this instance of TEntityBuilder so its payload cannot be used again.

Returns

The created entity's ID

Parameters

Parameter

Description

EntityManager

The entity manager to create the entity within. All component types must relate to this class.

NewType

(Optional) An additional base type to use for the new entity. Any component types not stored by this builder will be default-constructed.

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