FEntityManager::CombineComponents

Combine the components from one entity into another, overwriting any pre-existing component values.

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 CombineComponents
(
    FMovieSceneEntityID DestinationEntityID,
    FMovieSceneEntityID SourceEntityID,
    const FComponentMask * OptionalMask
)

Remarks

Combine the components from one entity into another, overwriting any pre-existing component values. Does not free any entities.

Parameters

Parameter

Description

DestinationEntityID

The ID of the entity to add new components to

SourceEntityID

The ID of the entity to copy components from

OptionalMask

(Optional) A mask constituting the components that should be copied

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