Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- USequencePlayerLibrary
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 Note: Experimental and subject to change!
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | ComputePlayRateFromDuration
(
const FSequencePlayerReference& SequencePlayer, |
Returns the Play Rate to provide when playing this animation if a specific animation duration is desired | |
| FSequencePlayerReference | ConvertToSequencePlayer
(
const FAnimNodeReference& Node, |
Get a sequence player context from an anim node context | |
| void | ConvertToSequencePlayerPure
(
const FAnimNodeReference& Node, |
Get a sequence player context from an anim node context (pure) | |
| float | GetAccumulatedTime
(
const FSequencePlayerReference& SequencePlayer |
Gets the current accumulated time of the sequence player | |
| bool | GetLoopAnimation
(
const FSequencePlayerReference& SequencePlayer |
Get the looping state of the sequence player | |
| float | GetPlayRate
(
const FSequencePlayerReference& SequencePlayer |
Get the play rate of the sequence player | |
| FSequencePlayerReference | GetSequence
(
const FSequencePlayerReference& SequencePlayer, |
Get the current sequence of the sequence player - DEPRECATED, please use pure version | |
| UAnimSequenceBase * | GetSequencePure
(
const FSequencePlayerReference& SequencePlayer |
Get the current sequence of the sequence player | |
| float | GetStartPosition
(
const FSequencePlayerReference& SequencePlayer |
Get the start position of the sequence player | |
| FSequencePlayerReference | SetAccumulatedTime
(
const FSequencePlayerReference& SequencePlayer, |
Set the current accumulated time of the sequence player | |
| FSequencePlayerReference | SetPlayRate
(
const FSequencePlayerReference& SequencePlayer, |
Set the play rate of the sequence player | |
| FSequencePlayerReference | SetSequence
(
const FSequencePlayerReference& SequencePlayer, |
Set the current sequence of the sequence player | |
| FSequencePlayerReference | SetSequenceWithInertialBlending
(
const FAnimUpdateContext& UpdateContext, |
Set the current sequence of the sequence player with an inertial blend time | |
| FSequencePlayerReference | SetStartPosition
(
const FSequencePlayerReference& SequencePlayer, |
Set the start position of the sequence player. |