FMetasoundFrontendLiteral

Check that the static_cast<>s above are using the correct type.

Choose your operating system:

Windows

macOS

Linux

References

Module

MetasoundFrontend

Header

/Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundFrontendLiteral.h

Include

#include "MetasoundFrontendLiteral.h"

Syntax

USTRUCT()
struct FMetasoundFrontendLiteral

Remarks

Represents the serialized version of variant literal types.

Constructors

Name Description

Public function

FMetasoundFrontendLiteral()

Public function

FMetasoundFrontendLiteral

(
    const FAudioParameter& InParameter
)

Functions

Name Description

Public function

void

 

Clear()

Remove any stored data and set to an invalid state.

Public function Const

EMetasoundFr...

 

GetType()

Public function Const

bool

 

IsArray()

Returns true if the stored Type is an array type.

Public function Const

bool

 

IsEquivalent

(
    const FMetasoundFrontendLiteral& I...
)

Returns whether the other literal is value equivalent.

Public function Const

bool

 

IsValid()

Returns true if the literal is in a valid state (Type != EMetasoundFrontendLiteralType::Invalid)

Public function

void

 

Set

(
    const TArray< UObject* >& InV...
)

Public function

void

 

Set

(
    UObject* InValue
)

Public function

void

 

Set

(
    const TArray< FString >& InValue
)

Public function

void

 

Set

(
    const FString& InValue
)

Public function

void

 

Set

(
    const TArray< float >& InValue
)

Public function

void

 

Set

(
    float InValue
)

Public function

void

 

Set

(
    const TArray< int32 >& InValue
)

Public function

void

 

Set

(
    const TArray< bool >& InValue
)

Public function

void

 

Set

(
    int32 InValue
)

Public function

void

 

Set

(
    const FDefaultArray& InValue
)

Public function

void

 

Set

(
    FDefault InValue
)

Public function

void

 

Set

(
    bool InValue
)

Public function

void

 

SetFromLiteral

(
    const Metasound::FLiteral& InLiter...
)

Public function

void

 

SetType

(
    EMetasoundFrontendLiteralType InTyp...
)

Sets the literal to the given type and value to default;.

Public function Const

Metasound::F...

 

ToLiteral

(
    const FName& InMetasoundDataType
)

Return the literal description parsed into a init param.

Public function Const

Metasound::F...

 

ToLiteralNoProxy()

Does not do type checking or handle proxy.

Public function Const

FString

 

ToString()

Convert the value to a string for printing.

Public function Const

bool

 

TryGet

(
    FString& OutValue
)

Public function Const

bool

 

TryGet

(
    TArray< float >& OutValue
)

Public function Const

bool

 

TryGet

(
    float& OutValue
)

Public function Const

bool

 

TryGet

(
    TArray< int32 >& OutValue
)

Public function Const

bool

 

TryGet

(
    UObject*& OutValue
)

Public function Const

bool

 

TryGet

(
    TArray< bool >& OutValue
)

Public function Const

bool

 

TryGet

(
    bool& OutValue
)

Public function Const

bool

 

TryGet

(
    TArray< UObject* >& OutValue
)

Public function Const

bool

 

TryGet

(
    int32& OutValue
)

Public function Const

bool

 

TryGet

(
    TArray< FString >& OutValue
)

Classes

Name

Description

Public struct

FDefault

Public struct

FDefaultArray