Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend
References
| Module | MetasoundFrontend |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundEnum.h |
| Include | #include "MetasoundEnum.h" |
Syntax
template<typename EnumType, EnumType DefaultValue>
class TEnum
Remarks
Metasound Enum Wrapper
Constructors
| Type | Name | Description | |
|---|---|---|---|
TEnum
(
EnumType InValue |
Default. | ||
TEnum
(
int32 InIntValue |
From Int32 (this is the common path from a Literal). | ||
| From Name. | |||
| Slow, construct from FString to FName. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| constexpr bool | |||
| EnumType | Get () |
||
| TArray< FName > | GetAllNames () |
Return all possible Names. | |
| TOptional< EnumType > | NameToEnum
(
FName InValue |
Convert from Name to EnumValue (if possible). | |
| int32 | ToInt () |
||
| TOptional< FName > | ToName () |
Convert to its FName (if possible). | |
| TOptional< FName > | ToName
(
EnumType InValue |
Convert from EnumValue to FName (if possible). |
Operators
| Type | Name | Description | |
|---|---|---|---|
| Conversion operator to automatically convert this to its underlying enum type. |
Typedefs
| Name | Description |
|---|---|
| InnerType | |
| SerializedType | |
| UnderlyingType |
Constants
| Name | Description |
|---|---|
| bHasWarnedNameToEnumConversionFailure |