FKeyframeTrackEditor

A base class for track editors that edit tracks which contain sections implementing GetKeyDataInterface.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MovieSceneTools

Header

/Engine/Source/Editor/MovieSceneTools/Public/KeyframeTrackEditor.h

Include

#include "KeyframeTrackEditor.h"

Syntax

template<typename TrackType>
class FKeyframeTrackEditor : public FMovieSceneTrackEditor

Remarks

A base class for track editors that edit tracks which contain sections implementing GetKeyDataInterface.

Constructors

Name Description

Public function

FKeyframeTrackEditor

(
    TSharedRef< ISequencer > InSequence...
)

Constructor

Destructors

Name Description

Public function

~FKeyframeTrackEditor()

Virtual destructor.

Functions

Name Description

Protected function

FKeyProperty...

 

AddKeysToObjects

(
    TArrayView< UObject*const > O...,
    FFrameNumber KeyTime,
    ESequencerKeyMode KeyMode,
    TSubclassOf< UMovieSceneTrack > Tra...,
    FName PropertyName,
    TFunction< void> O...,
    const GenerateKeysCallback& OnGene...
)

Adds keys to the specified object.

Protected function

FKeyProperty...

 

AddKeysToSection

(
    UMovieSceneSection* Section,
    FFrameNumber KeyTime,
    const FGeneratedTrackKeys& Keys,
    ESequencerKeyMode KeyMode
)

Returns whether a section was added

Protected function Static

bool

 

CanAutoKeySection

(
    UMovieSceneSection* Section,
    FFrameNumber Time
)

Check whether we can autokey the specified section at the specified time

Protected function Virtual Const

bool

 

ModifyGeneratedKeysByCurrentAndWeight

(
    UObject* Object,
    UMovieSceneTrack* Track,
    UMovieSceneSection* SectionToK...,
    FFrameNumber Time,
    FGeneratedTrackKeys& GeneratedTota...,
    float Weight
)

Scale the generated keys by the the current value and the weight.

Overridden from ISequencerTrackEditor

Name Description

Public function Virtual

void

 

BuildTrackContextMenu

(
    FMenuBuilder& MenuBuilder,
    UMovieSceneTrack* Track
)

Builds the context menu for the track.

Public function Virtual Const

bool

 

SupportsType

(
    TSubclassOf< UMovieSceneTrack > Tra...
)

Returns whether a track class is supported by this tool.

Typedefs

Name

Description

GenerateKeysCallback

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss