UMetaSoundSource

This Metasound type can be played as an audio source.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MetasoundEngine

Header

/Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundSource.h

Include

#include "MetasoundSource.h"

Syntax

UCLASS(HideCategories=object, BlueprintType)
class UMetaSoundSource :
    public USoundWaveProcedural,
    public FMetasoundAssetBase

Remarks

This Metasound type can be played as an audio source.

Variables

Name Description

Public variable UProperty assetregistrysearchable

FGuid

 

AssetClassID

Protected variable UProperty

UMetasoundEdito...

 

Graph

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

EMetasoundSourc...

 

OutputFormat

The output audio format of the metasound source.

Protected variable UProperty

TSet< FSoftObje...

 

ReferenceAssetClassCache

Protected variable UProperty

TSet< FString >

 

ReferencedAssetClassKeys

Public variable UProperty assetregistrysearchable

FString

 

RegistryInputTypes

Public variable UProperty assetregistrysearchable

FString

 

RegistryOutputTypes

Public variable UProperty assetregistrysearchable

int32

 

RegistryVersionMajor

Public variable UProperty assetregistrysearchable

int32

 

RegistryVersionMinor

Protected variable UProperty Category, EditAnywhere

FMetasoundFront...

 

RootMetasoundDocument

Constructors

Name Description

Public function

UMetaSoundSource

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

FName

 

GetDocumentPropertyName()

Returns document name (for editor purposes, and avoids making document public for edit while allowing editor to reference directly)

Protected function Const

bool

 

IsParameterValid

(
    const FAudioParameter& InParameter,
    const TMap< FName, FName >& InInpu...
)

Overridden from USoundWave

Name Description

Public function Virtual Const

bool

 

CanVisualizeAsset()

Public function Virtual Const

bool

 

GetRedrawThumbnail()

Public function Virtual

void

 

SetRedrawThumbnail

(
    bool bInRedraw
)

Overridden from USoundBase

Name Description

Public function Virtual Const

TUniquePtr< ...

 

CreateParameterTransmitter

Creates a parameter transmitter for communicating with active sound instances.

Public function Virtual

ISoundGenera...

 

CreateSoundGenerator

(
    const FSoundGeneratorInitParams& I...
)

Creates a sound generator instance from this sound base.

Protected function Virtual Const

bool

 

GetAllDefaultParameters

(
    TArray< FAudioParameter >& OutPara...
)

Gets all the default parameters for this Asset.

Public function Virtual

float

 

GetDuration()

Returns the length of the sound

Public function Virtual Const

bool

 

ImplementsParameterInterface

(
    Audio::FParameterInterfacePtr InPar...
)

Whether or not the given sound is a generator and implements an interface with the given name.

Public function Virtual

void

 

InitParameters

(
    TArray< FAudioParameter >& InParam...,
    FName InFeatureName
)

Called from the Game Thread prior to attempting to pass parameters to the ParameterTransmitter.

Public function Virtual

void

 

InitResources()

Called from the Game Thread prior to attempting to initialize a sound instance.

Public function Virtual

bool

 

IsLooping()

Returns whether or not this sound is looping.

Public function Virtual

bool

 

IsOneShot()

Query if it's one shot. One shot is defined as a sound which is intended to have a fixed duration.

Public function Virtual Const

bool

 

IsParameterValid

(
    const FAudioParameter& InParameter
)

Returns whether parameter is valid input for the given sound

Public function Virtual Const

bool

 

IsPlayable()

Returns whether the sound base is set up in a playable manner

Public function Virtual Const

bool

 

SupportsSubtitles()

Returns whether sound supports subtitles.

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Public function Virtual

void

 

PostDuplicate

(
    EDuplicateMode::Type InDuplicateMod...
)

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.

Public function Virtual

void

 

PreSave

(
    FObjectPreSaveContext SaveContext
)

Presave function.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Overridden from FMetasoundAssetBase

Name Description

Public function Virtual

bool

 

ConformObjectDataToInterfaces()

Called when the interface is changed, presenting the opportunity for.

Public function Virtual Const

Metasound::F...

 

GetAssetClassInfo()

Returns Asset Metadata associated with this MetaSoundSource.

Public function Virtual Const

FText

 

GetDisplayName()

Name to display in editors.

Protected function Virtual Const

Metasound::F...

 

GetDocument()

Returns an access pointer to the document.

Protected function Virtual

Metasound::F...

 

GetDocument()

Returns an access pointer to the document.

Public function Virtual

UEdGraph ...

 

GetGraph()

Returns the graph associated with this Metasound.

Public function Virtual Const

const UEdGra...

 

GetGraph()

Public function Virtual

UEdGraph &

 

GetGraphChecked()

Public function Virtual Const

const UEdGra...

 

GetGraphChecked()

Public function Virtual

UObject *...

 

GetOwningAsset()

Returns the owning asset responsible for transactions applied to MetaSound.

Public function Virtual Const

const UObjec...

 

GetOwningAsset()

Returns the owning asset responsible for transactions applied to MetaSound.

Public function Virtual

TSet< FSoftO...

 

GetReferencedAssetClassCache()

Returns set of cached class references set on last registration prior to serialize.

Public function Virtual Const

const TSet< ...

 

GetReferencedAssetClassCache()

Public function Virtual Const

const TSet< ...

 

GetReferencedAssetClassKeys()

Returns all the class keys of this asset's referenced assets.

Public function Virtual

void

 

SetGraph

(
    UEdGraph* InGraph
)

Sets the graph associated with this Metasound.

Protected function Virtual

void

 

SetReferencedAssetClassKeys

Public function Virtual

void

 

SetRegistryAssetClassInfo

(
    const Metasound::Frontend::FNodeCla...
)

Sets Asset Registry Metadata associated with this MetaSoundSource.