FEntityManager::AddChild

Set up an entity to be a child of another.

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 AddChild
(
    FMovieSceneEntityID ParentID,
    FMovieSceneEntityID ChildID
)

Remarks

Set up an entity to be a child of another. Child entities will only be cleaned up if their parents are marked Unlink, and TagOrphanedChildren is called

Parameters

Parameter

Description

ParentID

The ID of the parent

ChildID

The ID of the child

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