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