TFilteredEntityTask

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntitySystemTask.h

Include

#include "EntitySystem/MovieSceneEntitySystemTask.h"

Syntax

template<typename... T>
struct TFilteredEntityTask

Constructors

Name Description

Public function

TFilteredEntityTask

(
    const TEntityTaskComponents< T... >...
)

Public function

TFilteredEntityTask

(
    const TEntityTaskComponents< T... >...,
    const FEntityComponentFilter& InFi...
)

Functions

Name Description

Public function

TFilteredEnt...

 

CombineFilter

(
    const FEntityComponentFilter& InFi...
)

Combine this task's filter with the specified filter

Public function Const

FGraphEventR...

 

Dispatch_PerAllocation

(
    FEntityManager* EntityManager,
    const FSystemTaskPrerequisites& Pr...,
    FSystemSubsequentTasks* Subseq...,
    TaskConstructionArgs&&... InArgs
)

Dispatch a task for every entity that matches the filters and component types.

Public function Const

FGraphEventR...

 

Dispatch_PerEntity

(
    FEntityManager* EntityManager,
    const FSystemTaskPrerequisites& Pr...,
    FSystemSubsequentTasks* Subseq...,
    TaskConstructionArgs&&... InArgs
)

Dispatch a task for every entity that matches the filters and component types.

Public function

TFilteredEnt...

 

FilterAll

(
    std::initializer_list< FComponentTy...
)

Constrain this task to only run for entities that have all the specified components or tags

Public function

TFilteredEnt...

 

FilterAll

(
    const FComponentMask& InComponentM...
)

Constrain this task to only run for entities that have all the specified components or tags

Public function

TFilteredEnt...

 

FilterAny

(
    std::initializer_list< FComponentTy...
)

Constrain this task to only run for entities that have at least one of the specified components or tags

Public function

TFilteredEnt...

 

FilterAny

(
    const FComponentMask& InComponentM...
)

Constrain this task to only run for entities that have at least one of the specified components or tags

Public function

TFilteredEnt...

 

FilterNone

(
    const FComponentMask& InComponentM...
)

Constrain this task to only run for entities that have none the specified components or tags

Public function

TFilteredEnt...

 

FilterNone

(
    std::initializer_list< FComponentTy...
)

Constrain this task to only run for entities that have none the specified components or tags

Public function

TFilteredEnt...

 

FilterOut

(
    std::initializer_list< FComponentTy...
)

Constrain this task to only run for entities that do not have the specific combination of components or tags

Public function

TFilteredEnt...

 

FilterOut

(
    const FComponentMask& InComponentM...
)

Constrain this task to only run for entities that do not have the specific combination of components or tags

Public function Const

const TEntit...

 

GetComponents()

Access the underlying component access definitions

Public function Const

const FEntit...

 

GetFilter()

Access the pre-populated filter that should be used for iterating relevant entities for this task

Public function Const

void

 

Iterate_PerAllocation

(
    FEntityManager* EntityManager,
    Callback&& InCallback
)

Perform a thread-safe iteration of all matching allocations within the specified entity manager using this task, inline on the current thread

Public function Const

void

 

Iterate_PerEntity

(
    FEntityManager* EntityManager,
    Callback&& InCallback
)

Perform a thread-safe iteration of all matching entities specified entity manager using this task, inline on the current thread

Public function Const

void

 

RunInline_PerAllocation

(
    FEntityManager* EntityManager,
    TaskImpl& Task
)

Public function Const

void

 

RunInline_PerEntity

(
    FEntityManager* EntityManager,
    TaskImpl Task
)

Public function

TFilteredEnt...

 

SetCurrentThread

(
    ENamedThreads::Type InCurrentThread
)

Assign the current thread for task dispatch to ensure that it is issued on the correct thread.

Public function

TFilteredEnt...

 

SetDesiredThread

(
    ENamedThreads::Type InDesiredThread
)

Assign a desired thread for this task to run on

Public function

TFilteredEnt...

 

SetStat

(
    TStatId InStatId
)

Assign a stat ID for this task

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss