FEntityManager::CopyComponent

Copy the specified component type from an entity if it exists.

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

bool CopyComponent
(
    FMovieSceneEntityID SrcEntityID,
    FMovieSceneEntityID DstEntityID,
    FComponentTypeID ComponentTypeID
)

Remarks

Copy the specified component type from an entity if it exists.

Parameters

Parameter

Description

SrcEntityID

The ID of the entity to copy from

DstEntityID

The ID of the entity to copy to

ComponentTypeID

The ID of the component type to copy. Must exist on SrcEntityID

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