Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime > API/Runtime/AnimGraphRuntime/USequencePlayerLibrary
Description
Set the start position of the sequence player. If this is called from On Become Relevant or On Initial Update then it should be accompanied by a call to SetAccumulatedTime to achieve the desired effect of resetting the play time of a sequence player.
| Name | SetStartPosition |
| Type | function |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/SequencePlayerLibrary.h |
| Include Path | #include "SequencePlayerLibrary.h" |
| Source | /Engine/Source/Runtime/AnimGraphRuntime/Private/SequencePlayerLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Animation|Sequences", Meta=(BlueprintThreadSafe))
static FSequencePlayerReference SetStartPosition
(
const FSequencePlayerReference & SequencePlayer,
float StartPosition
)