Navigation
Unreal Engine C++ API Reference > Runtime > MovieSceneTracks > Sections
References
Module | MovieSceneTracks |
Header | /Engine/Source/Runtime/MovieSceneTracks/Public/Sections/MovieSceneSkeletalAnimationSection.h |
Include | #include "Sections/MovieSceneSkeletalAnimationSection.h" |
Syntax
struct FMovieSceneSkeletalAnimationParams
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectPtr< UAnimSequenceBase > | Animation | The animation this section plays |
![]() |
bool | bForceCustomMode | If on animation sequence will always play when active even if the animation is controlled by a Blueprint or Anim Instance Class |
![]() |
uint32: 1 | bReverse | Reverse the playback of the animation clip |
![]() |
bool | bSkipAnimNotifiers | If on will skip sending animation notifies |
![]() |
FFrameNumber | EndFrameOffset | The offset into the end of the animation clip |
![]() |
FFrameNumber | FirstLoopStartFrameOffset | The offset into the beginning of the animation clip for the first loop of play. |
![]() |
TObjectPtr< class UMirrorDataTable > | MirrorDataTable | |
![]() |
float | PlayRate | The playback rate of the animation clip |
![]() |
FName | SlotName | The slot name to use for the animation |
![]() |
FFrameNumber | StartFrameOffset | The offset into the beginning of the animation clip |
![]() |
ESwapRootBone | SwapRootBone | If on the root bone transform will be swapped to the specified root |
![]() |
FMovieSceneFloatChannel | Weight | The weight curve for this animation section |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
float | GetDuration () |
Gets the animation duration, modified by play rate |
![]() ![]() |
float | Gets the animation sequence length, not modified by play rate | |
![]() ![]() |
double | MapTimeToAnimation
(
const UMovieSceneSection* InSection, |
Convert a sequence frame to a time in seconds inside the animation clip, taking into account start/end offsets, looping, etc. |
![]() ![]() |
double | MapTimeToAnimation
(
FFrameNumber InSectionStartTime, |
As above, but with already computed section bounds. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | EndOffset_DEPRECATED | |
![]() |
float | StartOffset_DEPRECATED |