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

Replace the components of an entity with this builder's definition.

Windows
MacOS
Linux

References

Module

MovieScene

Header

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

Include

#include "EntitySystem/MovieSceneEntityBuilder.h"

Syntax

void ReplaceEntity
(
    FEntityManager * EntityManager,
    FMovieSceneEntityID & InOutEntityID,
    FComponentMask NewType
)

Remarks

Replace the components of an entity with this builder's definition. @note Will invalidate this instance of TEntityBuilder so its payload cannot be used again.

Parameters

Parameter

Description

EntityManager

The entity manager that houses EntityID. All component types must relate to this class.

EntityID

The entity ID to replace

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