Navigation
API > API/Editor > API/Editor/MovieSceneTools > API/Editor/MovieSceneTools/IMovieSceneLinkedAnimTrackProvid-
Description
Perform the auto-bake for the linked animation on behalf of the recorder.
Providers that own a richer evaluation model than per-frame skeletal mesh component sampling can implement this to write directly into the AnimSequence. The mixer provider, for example, calls its dedicated bake helper which composites the mixer's RootMotionTransform onto the root bone and sets bEnableRootMotion on the asset.
Return true if this provider performed the bake. The auto-bake recorder will skip its frame-by-frame fallback when true is returned. The default implementation returns false, leaving the recorder to use UAnimSequenceRecorder.
| Name | TryBakeLinkedAnimSequence |
| Type | function |
| Header File | /Engine/Source/Editor/MovieSceneTools/Public/IMovieSceneLinkedAnimTrackProvider.h |
| Include Path | #include "IMovieSceneLinkedAnimTrackProvider.h" |
virtual bool TryBakeLinkedAnimSequence
(
const TWeakPtr < ISequencer > & InSequencer,
FGuid BindingID,
UAnimSequence * InAnimSequence,
const FLevelSequenceAnimSequenceLinkItem & InLinkItem
)