Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/EntitySystem > API/Runtime/MovieScene/EntitySystem/TEntityTaskComponents
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntitySystemTask.h |
Include | #include "EntitySystem/MovieSceneEntitySystemTask.h" |
template<typename TaskImpl, typename... TaskConstructionArgs>
FGraphEventRef Dispatch
&40;
FEntityManager &42; EntityManager,
const FSystemTaskPrerequisites & Prerequisites,
FSystemSubsequentTasks &42; Subsequents,
TaskConstructionArgs &&... InArgs
&41; const
Remarks
Dispatch a custom task that runs non-structured logic. Tasks must implement a Run function that doesn't take any argument. A pointer to the graph event for the task, or nullptr if this task is not valid (ie contains invalid component types that would be necessary for the task to run), or threading is disabled
Parameters
Name | Description |
---|---|
EntityManager | The entity manager to run the task on |
Prerequisites | Prerequisite tasks that must run before this one, or nullptr if there are no prerequisites |
Subsequents | (Optional) Subsequent task tracking that this task should be added to for each writable component type |
InArgs | Optional arguments that are forwarded to the constructor of TaskImpl |