Navigation
API > API/Plugins > API/Plugins/AnimNext
Context passed to schedule task callbacks.
| Name | FModuleTaskContext |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/Module/ModuleTaskContext.h |
| Include Path | #include "Module/ModuleTaskContext.h" |
Syntax
struct FModuleTaskContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FModuleTaskContext
(
FAnimNextModuleInstance& InModuleInstance |
Module/ModuleTaskContext.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ModuleInstance | FAnimNextModuleInstance * | The module instance currently running. | Module/ModuleTaskContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimNextModuleInstance *const GetModuleInstance() |
Module/ModuleTaskContext.h | ||
void QueueInputTraitEvent
(
FAnimNextTraitEventPtr Event |
Queues an input trait event Input events will be processed in the next graph update after they are queued | Module/ModuleTaskContext.h | |
void TryAccessComponent
(
TFunctionRef< void(ComponentType&)> InFunction |
Module/ModuleTaskContext.h | ||
void TryAccessComponent
(
UScriptStruct* InComponentType, |
Access a module instance component of the specified type. If the component exists, then InFunction will be called. | Module/ModuleTaskContext.h |