Navigation
API > API/Runtime > API/Runtime/MovieSceneTracks > API/Runtime/MovieSceneTracks/Sections
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMovieSceneSignedObject
- UMovieSceneSection
- UMovieSceneSkeletalAnimationSection
References
| Module | MovieSceneTracks |
| Header | /Engine/Source/Runtime/MovieSceneTracks/Public/Sections/MovieSceneSkeletalAnimationSection.h |
| Include | #include "Sections/MovieSceneSkeletalAnimationSection.h" |
Syntax
class UMovieSceneSkeletalAnimationSection :
public UMovieSceneSection,
public IMovieSceneEntityProvider
Remarks
Movie scene section that control skeletal animation
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bMatchIncludeZHeight | ||
| bool | bMatchRotationPitch | ||
| bool | bMatchRotationRoll | ||
| bool | bMatchRotationYaw | ||
| bool | bMatchTranslation | ||
| bool | bMatchWithPrevious | ||
| bool | bShowSkeleton | Whether to show the underlying skeleton for this section. | |
| FName | MatchedBoneName | ||
| FVector | MatchedLocationOffset | Location offset determined by matching | |
| FRotator | MatchedRotationOffset | Rotation offset determined by matching | |
| FMovieSceneSkeletalAnimationParams | Params | ||
| float | PreviousPlayRate | ||
| FTransform | PreviousTransform | Previous transform used to specify the global OffsetTransform while calculting the root motions. | |
| FVector | StartLocationOffset | Location offset applied before the matched offset | |
| FRotator | StartRotationOffset | Location offset applied after the matched offset | |
| TOptional< int32 > | TempRootBoneIndex | Temporary index used by GetRootMotionTransform and set by SetBoneIndexforRootMotionCalculations. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMovieSceneSkeletalAnimationSection
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | GetRootMotion
(
FFrameTime CurrentTime, |
||
| FMovieSceneSkeletalAnimRootMotionTrackParams * | Functions/params related to root motion calcuations. | ||
| FTransform | |||
| bool | GetRootMotionTransform
(
FAnimationPoseData& PoseData, |
||
| bool | GetRootMotionVelocity
(
FFrameTime PreviousTime, |
||
| double | MapTimeToAnimation
(
FFrameTime InPosition, |
Get Frame Time as Animation Time | |
| void | MatchSectionByBoneTransform
(
USkeletalMeshComponent* SkelMeshComp, |
||
| int32 | SetBoneIndexForRootMotionCalculations
(
bool bBlendFirstChildOfRoot |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void |
Overridden from UMovieSceneSection
| Type | Name | Description | |
|---|---|---|---|
| TOptional< TRange< FFrameNumber > > | Returns the range to auto size this section to, if there is one. | ||
| TOptional< FFrameTime > | The optional offset time of this section | ||
| void | GetSnapTimes
(
TArray< FFrameNumber >& OutSnapTimes, |
Gets all snap times for this section | |
| float | GetTotalWeightValue
(
FFrameTime InTime |
Get The Total Weight Value for this Section For Most Sections it's just the Ease Value, but for some Sections also have an extra Weight Curve | |
| void | MigrateFrameTimes
(
FFrameRate SourceRate, |
Migrate the frame times of the movie scene section from the source frame rate to the destination frame rate | |
| void | SetEndFrame
(
TRangeBound< FFrameNumber > NewEndFrame |
Set this section's end frame in sequence resolution space | |
| void | SetRange
(
const TRange< FFrameNumber >& NewRange |
Sets a new range of times for this section | |
| void | SetStartFrame
(
TRangeBound< FFrameNumber > NewStartFrame |
Set this section's start frame in sequence resolution space. | |
| UMovieSceneSection * | SplitSection
(
FQualifiedFrameTime SplitTime, |
Split a section in two at the split time | |
| void | TrimSection
(
FQualifiedFrameTime TrimTime, |
Trim a section at the trim time |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Modify
(
bool bAlwaysMarkDirty |
Note that the object will be modified. | |
| void | PostLoad () |
~UObject interface | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Overridden from IMovieSceneEntityProvider
| Type | Name | Description | |
|---|---|---|---|
| void | ImportEntityImpl
(
UMovieSceneEntitySystemLinker* EntityLinker, |
~IMovieSceneEntityProvider interface |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FRootMotionParams | |||
| FRootMotionTransformParam |