FEntityManager::ReplaceEntityID

Replace an entity ID with the components from another, discarding the provided entity ID in the process

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

void ReplaceEntityID
(
    FMovieSceneEntityID & InOutEntity,
    FMovieSceneEntityID EntityToDiscard
)

Remarks

Replace an entity ID with the components from another, discarding the provided entity ID in the process

Parameters

Parameter

Description

InOutEntity

The entity ID to be reassigned. If it is already valid, the existing entity will be freed

EntityToDiscard

The entity containing the components to replace InOutEntity with. This Entity ID will be invalid after this function call.

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