Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/EntitySystem > API/Runtime/MovieScene/EntitySystem/FEntityManager > API/Runtime/MovieScene/EntitySystem/FEntityManager/AddComponent
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityManager.h |
Include | #include "EntitySystem/MovieSceneEntityManager.h" |
template<typename T, typename ValueType>
void AddComponent
(
FMovieSceneEntityID EntityID,
TComponentTypeID < T > ComponentTypeID,
ValueType && InValue
)
Remarks
Add the specified component value to an entity
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 |
InValue | The value of the component to add |