Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
Exposes operations to be performed on a sequence player anim node Note: Experimental and subject to change!
| Name | USequencePlayerLibrary |
| Type | class |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/SequencePlayerLibrary.h |
| Include Path | #include "SequencePlayerLibrary.h" |
Syntax
UCLASS (Experimental, MinimalAPI)
class USequencePlayerLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → USequencePlayerLibrary
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float ComputePlayRateFromDuration
(
const FSequencePlayerReference& SequencePlayer, |
Returns the Play Rate to provide when playing this animation if a specific animation duration is desired | SequencePlayerLibrary.h |
|
static FSequencePlayerReference ConvertToSequencePlayer
(
const FAnimNodeReference& Node, |
Get a sequence player context from an anim node context | SequencePlayerLibrary.h |
|
static void ConvertToSequencePlayerPure
(
const FAnimNodeReference& Node, |
Get a sequence player context from an anim node context (pure) | SequencePlayerLibrary.h |
|
static float GetAccumulatedTime
(
const FSequencePlayerReference& SequencePlayer |
Gets the current accumulated time of the sequence player | SequencePlayerLibrary.h |
|
static bool GetLoopAnimation
(
const FSequencePlayerReference& SequencePlayer |
Get the looping state of the sequence player | SequencePlayerLibrary.h |
|
static float GetPlayRate
(
const FSequencePlayerReference& SequencePlayer |
Get the play rate of the sequence player | SequencePlayerLibrary.h |
|
static FSequencePlayerReference GetSequence
(
const FSequencePlayerReference& SequencePlayer, |
Get the current sequence of the sequence player - DEPRECATED, please use pure version | SequencePlayerLibrary.h |
|
static UAnimSequenceBase * GetSequencePure
(
const FSequencePlayerReference& SequencePlayer |
Get the current sequence of the sequence player | SequencePlayerLibrary.h |
|
static float GetStartPosition
(
const FSequencePlayerReference& SequencePlayer |
Get the start position of the sequence player | SequencePlayerLibrary.h |
|
static FSequencePlayerReference SetAccumulatedTime
(
const FSequencePlayerReference& SequencePlayer, |
Set the current accumulated time of the sequence player | SequencePlayerLibrary.h |
|
static FSequencePlayerReference SetPlayRate
(
const FSequencePlayerReference& SequencePlayer, |
Set the play rate of the sequence player | SequencePlayerLibrary.h |
|
static FSequencePlayerReference SetSequence
(
const FSequencePlayerReference& SequencePlayer, |
Set the current sequence of the sequence player | SequencePlayerLibrary.h |
|
static FSequencePlayerReference SetSequenceWithInertialBlending
(
const FAnimUpdateContext& UpdateContext, |
Set the current sequence of the sequence player with an inertial blend time | SequencePlayerLibrary.h |
|
static FSequencePlayerReference SetStartPosition
(
const FSequencePlayerReference& SequencePlayer, |
Set the start position of the sequence player. | SequencePlayerLibrary.h |
|