Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend
References
| Module | MetasoundFrontend |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundFrontendLiteral.h |
| Include | #include "MetasoundFrontendLiteral.h" |
Syntax
USTRUCT&40;BlueprintType, Meta&61;&40;DisplayName&61;"MetaSound Literal"&41;&41;
struct FMetasoundFrontendLiteral
Remarks
Represents the serialized version of variant literal types.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMetasoundFrontendLiteral
(
const FAudioParameter& InParameter |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clear () |
Remove any stored data and set to an invalid state. | |
| EMetasoundFrontendLiteralType | GetType () |
||
| bool | IsArray () |
Returns true if the stored Type is an array type. | |
| bool | IsEqual
(
const FMetasoundFrontendLiteral& InOther |
Returns whether the other literal is value equivalent. | |
| bool | IsValid () |
Returns true if the literal is in a valid state (Type != EMetasoundFrontendLiteralType::Invalid) | |
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | Set
(
float InValue |
||
| void | |||
| void | |||
| void | Set
(
int32 InValue |
||
| void | Set
(
const FDefaultArray& InValue |
||
| void | |||
| void | Set
(
bool InValue |
||
| void | SetFromLiteral
(
const Metasound::FLiteral& InLiteral |
||
| void | SetType
(
EMetasoundFrontendLiteralType InType |
Sets the literal to the given type and value to default;. | |
| Metasound::FLiteral | Return the literal description parsed into a init param. | ||
| Metasound::FLiteral | Does not do type checking or handle proxy. | ||
| FString | ToString () |
Convert the value to a string for printing. | |
| bool | |||
| bool | |||
| bool | TryGet
(
float& OutValue |
||
| bool | |||
| bool | |||
| bool | |||
| bool | TryGet
(
bool& OutValue |
||
| bool | |||
| bool | TryGet
(
int32& OutValue |
||
| bool |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDefault | |||
| FDefaultArray |