Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > EntitySystem > FEntityManager > AddComponent
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 |
void AddComponent
&40;
FMovieSceneEntityID EntityID,
FComponentTypeID ComponentTypeID
&41;
Remarks
Add the specified component type to an entity. The component value will be default-initialized.
Parameters
Name | Description |
---|---|
EntityID | The ID of the entity to add the component to |
ComponentTypeID | The ID of the component type to add to the entity |