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 (BlueprintType , Meta=(DisplayName="MetaSound Literal"))
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. | |
| int32 | GetArrayNum () |
Get the number of array elements if this literal is an array type, otherwise return 0. | |
| FMetasoundFrontendLiteral | GetInvalid () |
||
| 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 | Set
(
float InValue |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | Set
(
bool InValue |
||
| void | Set
(
const FDefaultArray& InValue |
||
| void | |||
| void | SetFromLiteral
(
const Metasound::FLiteral& InLiteral |
||
| void | SetType
(
EMetasoundFrontendLiteralType InType |
Sets the literal to the given type and value to default;. | |
| Metasound::FLiteral | ToLiteral
(
const FName& InMetaSoundDataType, |
Return a Metasound::FLiteral representation of this object. | |
| Metasound::FLiteral | Return a Metasound::FLiteral representation of this object, excluding UObject proxies. | ||
| FString | ToString () |
Convert the value to a string for printing. | |
| bool | |||
| bool | TryGet
(
float& OutValue |
||
| bool | |||
| bool | |||
| bool | |||
| bool | TryGet
(
bool& OutValue |
||
| bool | |||
| bool | |||
| bool | |||
| bool |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDefault | |||
| FDefaultArray |