Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FEntityManager
Description
Write a component value that is known to exist to an entity.
this is a general purpose convenience utility which should not be used for high-performance runtime code. See FEntityTaskBuilder.
| Name | WriteComponentChecked |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityManager.h |
| Include Path | #include "EntitySystem/MovieSceneEntityManager.h" |
template<typename T, typename ValueType>
void WriteComponentChecked
(
FMovieSceneEntityID Entity,
TComponentTypeID < T > ComponentTypeID,
ValueType && Value
)
Parameters
| Name | Remarks |
|---|---|
| Entity | The ID of the entity to read from |
| ComponentTypeID | The component that is to be read |
| Value | The value to write |