Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/EntitySystem > API/Runtime/MovieScene/EntitySystem/TEntityTaskCompo-
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntitySystemTask.h |
Include | #include "EntitySystem/MovieSceneEntitySystemTask.h" |
template<typename U>
TEntityTaskComponents < T..., TReadAccess < U > > Read
(
TComponentTypeID < U > ComponentType
) const
Remarks
Read the value of a component. Passed to the task as either a const T& or T depending on the type specified in the task function.
Supplying an invalid ComponentType will be handled gracefully, but will result in no task being dispatched.
Parameters
Name | Description |
---|---|
ComponentType | A valid component type to read. |