Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/EntitySystem > API/Runtime/MovieScene/EntitySystem/TEntityBuilderIm-
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityBuilder.h |
| Include | #include "EntitySystem/MovieSceneEntityBuilder.h" |
template<typename U, typename PayloadType>
TEntityBuilder< T..., TAdd< U > > Add
&40;
TComponentTypeID< U > ComponentType,
PayloadType && InPayload
&41;
Remarks
Add a component to the entity with a specific value A new builder that includes the new component and payload
Parameters
| Name | Description |
|---|---|
| ComponentType | The component type ID to add to the entity. Must be valid. |
| InPayload | User-specified data to forward into the component |