USequencePlayerLibrary

Exposes operations to be performed on a sequence player anim node.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AnimGraphRuntime

Header

/Engine/Source/Runtime/AnimGraphRuntime/Public/SequencePlayerLibrary.h

Include

#include "SequencePlayerLibrary.h"

Syntax

class USequencePlayerLibrary : public UBlueprintFunctionLibrary

Remarks

Exposes operations to be performed on a sequence player anim node.

Functions

Name Description

Public function Static

FSequencePla...

 

ConvertToSequencePlayer

(
    const FAnimNodeReference& Node,
    EAnimNodeReferenceConversionResult ...
)

Get a sequence player context from an anim node context

Public function Static

void

 

ConvertToSequencePlayerPure

(
    const FAnimNodeReference& Node,
    FSequencePlayerReference& Sequence...,
    bool& Result
)

Get a sequence player context from an anim node context (pure)

Public function Static

float

 

GetAccumulatedTime

(
    const FSequencePlayerReference& Se...
)

Gets the current accumulated time of the sequence player

Public function Static

bool

 

GetLoopAnimation

(
    const FSequencePlayerReference& Se...
)

Get the looping state of the sequence player

Public function Static

float

 

GetPlayRate

(
    const FSequencePlayerReference& Se...
)

Get the play rate of the sequence player

Public function Static

UAnimSequenc...

 

GetSequence

(
    const FSequencePlayerReference& Se...
)

Get the current sequence of the sequence player

Public function Static

float

 

GetStartPosition

(
    const FSequencePlayerReference& Se...
)

Get the start position of the sequence player

Public function Static

FSequencePla...

 

SetAccumulatedTime

(
    const FSequencePlayerReference& Se...,
    float Time
)

Set the current accumulated time of the sequence player

Public function Static

FSequencePla...

 

SetPlayRate

(
    const FSequencePlayerReference& Se...,
    float PlayRate
)

Set the play rate of the sequence player

Public function Static

FSequencePla...

 

SetSequence

(
    const FSequencePlayerReference& Se...,
    UAnimSequenceBase* Sequence
)

Set the current sequence of the sequence player

Public function Static

FSequencePla...

 

SetSequenceWithInertialBlending

(
    const FAnimUpdateContext& UpdateCo...,
    const FSequencePlayerReference& Se...,
    UAnimSequenceBase* Sequence,
    float BlendTime
)

Set the current sequence of the sequence player with an inertial blend time

Public function Static

FSequencePla...

 

SetStartPosition

(
    const FSequencePlayerReference& Se...,
    float StartPosition
)

Set the start position of the sequence player