FSequencerKeyStructGenerator::CreateKeyStructInstance

Create a new struct instance using the specified channel and key handles

Windows
MacOS
Linux

References

Module

Sequencer

Header

/Engine/Source/Editor/Sequencer/Public/SequencerKeyStructGenerator.h

Include

#include "SequencerKeyStructGenerator.h"

Syntax

template<typename ChannelType>
TSharedPtr< FStructOnScope > CreateKeyStructInstance
(
    const TMovieSceneChannelHandle< ChannelType > & ChannelHandle,
    FKeyHandle InHandle
)

Remarks

Create a new struct instance using the specified channel and key handles

: Specific generation logic may be implemented by overloading the following free-function for your channel type: UMovieSceneKeyStructType* InstanceGeneratedStruct(ChannelType* Channel, FSequencerKeyStructGenerator* Generator)

Returns

An instance of a key struct for use on an edit UI, or nullptr if no valid one could be generated.

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