FEntityManager::DuplicateEntity

Duplicate an entity, by creating an exact copy with a new ID

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

FMovieSceneEntityID DuplicateEntity
(
    FMovieSceneEntityID InOther
)

Remarks

Duplicate an entity, by creating an exact copy with a new ID

Returns

An ID to a new entity that has exactly the same combination and value of components as InOther

Parameters

Parameter

Description

InOther

The ID of the entity to duplicate

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