Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FEntityManager
Description
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
| Name | AddChild |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityManager.h |
| Include Path | #include "EntitySystem/MovieSceneEntityManager.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneEntityManager.cpp |
void AddChild
(
FMovieSceneEntityID ParentID,
FMovieSceneEntityID ChildID
)
Parameters
| Name | Remarks |
|---|---|
| ParentID | The ID of the parent |
| ChildID | The ID of the child |