Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend
Metasound Enum Wrapper
| Name | TEnum |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundEnum.h |
| Include Path | #include "MetasoundEnum.h" |
Syntax
template<typename EnumType, EnumType DefaultValue>
class TEnum
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TEnum
(
EnumType InValue |
Default. | MetasoundEnum.h | |
TEnum
(
int32 InIntValue |
From Int32 (this is the common path from a Literal). | MetasoundEnum.h | |
| From Name. | MetasoundEnum.h | ||
| Slow, construct from FString to FName. | MetasoundEnum.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InnerType | EnumType | MetasoundEnum.h | |
| SerializedType | int32 | MetasoundEnum.h | |
| UnderlyingType | std::underlying_type_t< EnumType > | MetasoundEnum.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bHasWarnedNameToEnumConversionFailure | bool | MetasoundEnum.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EnumValue | EnumType | Keep the type in its fully typed form for debugging. | MetasoundEnum.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EnumType Get() |
MetasoundEnum.h | ||
int32 ToInt() |
MetasoundEnum.h | ||
| Convert to its FName (if possible). | MetasoundEnum.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool EnumTypeIsSupported() |
MetasoundEnum.h | ||
| Return all possible Names. | MetasoundEnum.h | ||
| Convert from Name to EnumValue (if possible). | MetasoundEnum.h | ||
| Convert from EnumValue to FName (if possible). | MetasoundEnum.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator EnumType() |
Conversion operator to automatically convert this to its underlying enum type. | MetasoundEnum.h |