Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
Evaluation Task Context
Encapsulates the state that controls what values tasks should produce.
| Name | FEvaluationTaskContext |
| Type | class |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/EvaluationVM/EvaluationTaskContext.h |
| Include Path | #include "EvaluationVM/EvaluationTaskContext.h" |
Syntax
class FEvaluationTaskContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| EvaluationVM/EvaluationTaskContext.h | |||
FEvaluationTaskContext
(
TNonNullPtr< const UAbstractSkeletonSetBinding > SetBinding, |
EvaluationVM/EvaluationTaskContext.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BindingData | FAttributeBindingDataPtr | Binding data owned by the set binding. | EvaluationVM/EvaluationTaskContext.h | |
| DefaultAttributeValues | FValueBundlePtr | Default values as specified by the current set binding and named set. | EvaluationVM/EvaluationTaskContext.h | |
| NamedSet | FAttributeNamedSetPtr | Named set instance to produce an output for. | EvaluationVM/EvaluationTaskContext.h | |
| SetBinding | const UAbstractSkeletonSetBinding * | The set binding we are evaluating with. | EvaluationVM/EvaluationTaskContext.h | |
| SkeletalMesh | const USkeletalMesh * | The target skeletal mesh with are evaluating with, may be nullptr. | EvaluationVM/EvaluationTaskContext.h | |
| Skeleton | const USkeleton * | The target skeleton we are evaluating with. | EvaluationVM/EvaluationTaskContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FValueBundlePtr & GetDefaultAttributeValues() |
Returns the default attribute values for the current named set (or nullptr if we aren't valid) | EvaluationVM/EvaluationTaskContext.h | |
const FAttributeNamedSetPtr & GetNamedSet() |
Returns the named set we are currently evaluating with (or nullptr if we aren't valid) | EvaluationVM/EvaluationTaskContext.h | |
const UAbstractSkeletonSetBinding * GetSetBinding() |
Returns the abstract skeleton set binding asset we are evaluating with (or nullptr if we aren't valid) | EvaluationVM/EvaluationTaskContext.h | |
const USkeletalMesh * GetSkeletalMesh() |
Returns the skeletal mesh we are evaluating with, may be nullptr) | EvaluationVM/EvaluationTaskContext.h | |
const USkeleton * GetSkeleton() |
Returns the concrete skeleton we are evaluating with (or nullptr if we aren't valid) | EvaluationVM/EvaluationTaskContext.h | |
bool IsValid() |
Returns whether or not this context is valid. | EvaluationVM/EvaluationTaskContext.h | |
bool SetNamedSet
(
FName SetName |
Sets the named set Returns true if we succeeded and the set exists in the current binding, false otherwise | EvaluationVM/EvaluationTaskContext.h |