Open 3D Engine GraphCanvas Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
GraphCanvas::ConstructTypePresetBucket Class Referenceabstract

Inherited by GraphCanvas::CommentPresetBucket, and GraphCanvas::NodeGroupPresetBucket.

Public Member Functions

 AZ_RTTI (ConstructTypePresetBucket, "{D6C8F55A-E0C3-4460-8BE2-773AB5BE6F2D}")
 
 AZ_CLASS_ALLOCATOR (ConstructTypePresetBucket, AZ::SystemAllocator)
 
virtual ConstructType GetConstructType () const =0
 
void SetDefaultPreset (int index)
 
int GetDefaultPresetIndex () const
 
int GetPresetCount () const
 
const AZStd::vector< AZStd::shared_ptr< ConstructPreset > > & GetPresets () const
 
AZStd::shared_ptr< ConstructPresetFindPreset (int index) const
 
AZStd::shared_ptr< ConstructPresetGetDefaultPreset () const
 
AZStd::shared_ptr< ConstructPresetCreateNewPreset (AZStd::string_view displayName="")
 
bool CreatePresetFrom (const AZ::EntityId &elementId, AZStd::string_view displayName="")
 
void ClearPresets ()
 
void RemovePreset (int preset)
 
bool RemovePreset (AZStd::shared_ptr< ConstructPreset > preset)
 
void SetEditorId (const EditorId &editorId)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

void AddPreset (ConstructPreset *presets)
 
void ApplyPreset (const AZ::EntityId &entityId, int index)
 
virtual AZStd::string GetDefaultName () const
 
virtual ConstructPresetCreateEmptyPreset ()=0
 
virtual void ConfigurePresetDefaults (EntitySaveDataContainer *presetData)=0
 
virtual void ConfigureAllowableSaveTypes (AZStd::unordered_set< AZ::Uuid > &allowableSaveTypes)=0
 
virtual void DeconfigurePresetsFromEntity (EntitySaveDataContainer *preset)=0
 

Friends

class EditorConstructPresets
 

The documentation for this class was generated from the following file: