Navigation
API > API/Plugins > API/Plugins/UAF
Context struct passed to instance tasks, allowing setting of variables etc.
| Name | FInstanceTaskContext |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/InstanceTaskContext.h |
| Include Path | #include "InstanceTaskContext.h" |
Syntax
struct FInstanceTaskContext
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInstanceTaskContext
(
FUAFAssetInstance& InInstance |
InstanceTaskContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AccessVariable
(
const FAnimNextVariableReference& InVariable, |
Access a variable's value. Type must match strictly, no conversions are performed. | InstanceTaskContext.h | |
bool AccessVariablesStruct
(
TFunctionRef< void(StructType&)> InFunction |
Access the memory of the shared variable struct directly. | InstanceTaskContext.h | |
bool SetVariable
(
const FAnimNextVariableReference& InVariable, |
Set a variable's value. If the type does not match exactly then a conversion will be attempted. | InstanceTaskContext.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AccessVariableInternal
(
const FAnimNextVariableReference& InVariable, |
Access a variable's value. | InstanceTaskContext.h | |
bool AccessVariablesStructInternal
(
const UScriptStruct* InStruct, |
Access the memory of the shared variable struct directly. | InstanceTaskContext.h | |
bool SetVariableInternal
(
const FAnimNextVariableReference& InVariable, |
Set a variable's value. | InstanceTaskContext.h |
See Also
-
FInjectionRequest::QueueTask