Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
Exposes operations to be performed on anim state machine node contexts.
| Name | UAnimationStateMachineLibrary |
| Type | class |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/AnimationStateMachineLibrary.h |
| Include Path | #include "AnimationStateMachineLibrary.h" |
Syntax
UCLASS (Experimental, MinimalAPI)
class UAnimationStateMachineLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UAnimationStateMachineLibrary
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ConvertToAnimationStateMachine
(
const FAnimNodeReference& Node, |
Get an anim state machine from an anim node reference | AnimationStateMachineLibrary.h |
|
static void ConvertToAnimationStateMachinePure
(
const FAnimNodeReference& Node, |
Get an anim state machine from an anim node reference (pure) | AnimationStateMachineLibrary.h |
|
static void ConvertToAnimationStateResult
(
const FAnimNodeReference& Node, |
Get an anim state reference from an anim node reference | AnimationStateMachineLibrary.h |
|
static void ConvertToAnimationStateResultPure
(
const FAnimNodeReference& Node, |
Get an anim state reference from an anim node reference (pure) | AnimationStateMachineLibrary.h |
|
static float GetRelevantAnimTimeRemaining
(
const FAnimUpdateContext& UpdateContext, |
Returns the remaining animation time of the state's most relevant asset player | AnimationStateMachineLibrary.h |
|
static float GetRelevantAnimTimeRemainingFraction
(
const FAnimUpdateContext& UpdateContext, |
Returns the remaining animation time as a fraction of the duration for the state's most relevant asset player | AnimationStateMachineLibrary.h |
|
static FName GetState
(
const FAnimUpdateContext& UpdateContext, |
Returns the name of the current state of this state machine | AnimationStateMachineLibrary.h |
|
static bool IsStateBlendingIn
(
const FAnimUpdateContext& UpdateContext, |
Returns whether the state the node belongs to is blending in | AnimationStateMachineLibrary.h |
|
static bool IsStateBlendingOut
(
const FAnimUpdateContext& UpdateContext, |
Returns whether the state the node belongs to is blending out | AnimationStateMachineLibrary.h |
|
static void SetState
(
const FAnimUpdateContext& UpdateContext, |
Manually set the current state of the state machine NOTE: Custom blend type is not supported | AnimationStateMachineLibrary.h |
|