Navigation
API > API/Editor > API/Editor/Sequencer
Singleton class that is used to create, store and instantiate generated structs for editing single keys on channels
| Name | FSequencerKeyStructGenerator |
| Type | class |
| Header File | /Engine/Source/Editor/Sequencer/Public/SequencerKeyStructGenerator.h |
| Include Path | #include "SequencerKeyStructGenerator.h" |
Syntax
class FSequencerKeyStructGenerator : private FGCObject
Inheritance Hierarchy
- FGCObject → FSequencerKeyStructGenerator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSequencerKeyStructGenerator() |
SequencerKeyStructGenerator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSequencerKeyStructGenerator() |
SequencerKeyStructGenerator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InstanceNameToGeneratedStruct | TMap< FName, TObjectPtr< UMovieSceneKeyStructType > > | Mapping of instance name -> generated struct type for reference collection | SequencerKeyStructGenerator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddGeneratedStruct
(
FName InstancedStructName, |
Add the specified struct to this manager with the specified unique name, explicitly keeping it alive through AddReferencedObjects. | SequencerKeyStructGenerator.h | |
TSharedPtr< FStructOnScope > CreateKeyStructInstance
(
const TMovieSceneChannelHandle< ChannelType >& ChannelHandle, |
Create a new struct instance using the specified channel and key handles | SequencerKeyStructGenerator.h | |
UMovieSceneKeyStructType * DefaultInstanceGeneratedStruct
(
UScriptStruct* ChannelType |
Create a new generated key struct by reflecting array properties with 'KeyTimes' and 'KeyValues' meta-data | SequencerKeyStructGenerator.h | |
UMovieSceneKeyStructType * FindGeneratedStruct
(
FName InstancedStructName |
Attempt to locate an existing struct type with the specified name | SequencerKeyStructGenerator.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UMovieSceneKeyStructType * AllocateNewKeyStruct () |
Allocate a brand new, empty key struct type. | SequencerKeyStructGenerator.h | |
static UMovieSceneKeyStructType * AllocateNewKeyStruct
(
UScriptStruct* ChannelType |
Allocate a brand new, key struct type, automatically discovering time/value properties from property meta-data. | SequencerKeyStructGenerator.h | |
static void CopyInstanceToKey
(
const TMovieSceneChannelHandle< ChannelType >& DestChannelHandle, |
Applies reflected values from the key struct instance back into the channel, called on user-interaction with the edit instance | SequencerKeyStructGenerator.h | |
static void FinalizeNewKeyStruct
(
UMovieSceneKeyStructType* InStruct |
Finalize the specified struct type by prepending a time property and linking the struct | SequencerKeyStructGenerator.h | |
static FArrayProperty * FindArrayPropertyWithTag
(
UScriptStruct* ChannelStruct, |
Helper function to locate an array property with the specified meta-data tag | SequencerKeyStructGenerator.h | |
static FSequencerKeyStructGenerator & Get() |
Access the singlton instance of this class | SequencerKeyStructGenerator.h |