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

Inherits GraphCanvas::ConstructTypePresetBucket.

Public Member Functions

 AZ_RTTI (CommentPresetBucket, "{B0765DB2-1EC0-4C18-810F-2F01AF9E4984}", ConstructTypePresetBucket)
 
 AZ_CLASS_ALLOCATOR (CommentPresetBucket, AZ::SystemAllocator)
 
ConstructType GetConstructType () const override
 
- Public Member Functions inherited from GraphCanvas::ConstructTypePresetBucket
 AZ_RTTI (ConstructTypePresetBucket, "{D6C8F55A-E0C3-4460-8BE2-773AB5BE6F2D}")
 
 AZ_CLASS_ALLOCATOR (ConstructTypePresetBucket, AZ::SystemAllocator)
 
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)
 

Protected Member Functions

AZStd::string GetDefaultName () const override
 
ConstructPresetCreateEmptyPreset () override
 
void ConfigurePresetDefaults (EntitySaveDataContainer *presetData) override
 
void ConfigureAllowableSaveTypes (AZStd::unordered_set< AZ::Uuid > &allowableSaveTypes) override
 
void DeconfigurePresetsFromEntity (EntitySaveDataContainer *preset) override
 
- Protected Member Functions inherited from GraphCanvas::ConstructTypePresetBucket
void AddPreset (ConstructPreset *presets)
 
void ApplyPreset (const AZ::EntityId &entityId, int index)
 

Additional Inherited Members

- Static Public Member Functions inherited from GraphCanvas::ConstructTypePresetBucket
static void Reflect (AZ::ReflectContext *context)
 

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