Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimNodeFunctionRef.h |
| Include | #include "Animation/AnimNodeFunctionRef.h" |
Syntax
USTRUCT ()
struct FAnimNodeFunctionRef
Remarks
Cached function name/ptr that is resolved at init time
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Call the function. | ||
| UFunction * | GetFunction () |
Get the function we reference. | |
| FName | Get the function name. | ||
| void | Initialize
(
const UClass* InClass |
Cache the function ptr from the name. | |
| bool | IsValid () |
Check if we reference a valid function. | |
| void | SetFromFunction
(
UFunction* InFunction |
Set the function via a function. | |
| void | SetFromFunctionName
(
FName InName |
Set the function via name. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FAnimNodeFunctionRef& InOther |
Override operator== as we only need to compare class/function names. |