Open 3D Engine AzCore 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.
AZ::EditContext::EnumBuilder Class Reference

#include <EditContext.h>

Public Member Functions

EnumBuilderoperator-> ()
 
template<class E >
EnumBuilderValue (const char *name, E value)
 
template<class E >
EditContext::EnumBuilderValue (const char *name, E value)
 

Detailed Description

Internal structure to maintain class information while we are describing an enum globally. User should call Value() to reflect the possible values for the enum. example: struct MyStruct { SomeEnum m_data };

expose for edit editContext->Enum<SomeEnum>("My enum","This enum was made to apply enumerated action!")-> Value("SomeValue", SomeEnum::SomeValue)-> Value("SomeOtherValue", SomeEnum::SomeOtherValue);


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