Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UCachedAnimDataLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/CachedAnimDataLibrary.h |
| Include | #include "Animation/CachedAnimDataLibrary.h" |
Syntax
class UCachedAnimDataLibrary : public UBlueprintFunctionLibrary
Remarks
A library of commonly used functionality from the CachedAnimData family, exposed to blueprint.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UCachedAnimDataLibrary
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | StateMachine_GetGlobalWeight
(
UAnimInstance* InAnimInstance, |
Returns the weight of a state, relative to the graph (specified in the provided FCachedAnimStateData) | |
| float | StateMachine_GetLocalWeight
(
UAnimInstance* InAnimInstance, |
Returns the weight of a state, relative to its state machine (specified in the provided FCachedAnimStateData) | |
| bool | StateMachine_IsStateRelevant
(
UAnimInstance* InAnimInstance, |
Returns whether a state is relevant (specified in the provided FCachedAnimStateData) |