Navigation
API > API/Plugins > API/Plugins/MetasoundEngine
Inheritance Hierarchy
- USoundWaveProcedural
- FMetasoundAssetBase
- IMetaSoundDocumentInterface
- UMetaSoundSource
References
| Module | MetasoundEngine |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundSource.h |
| Include | #include "MetasoundSource.h" |
Syntax
UCLASS (HideCategories=object, BlueprintType, Meta=(DisplayName="MetaSound Source"))
class UMetaSoundSource :
public USoundWaveProcedural,
public FMetasoundAssetBase ,
public IMetaSoundDocumentInterface
Remarks
This Metasound type can be played as an audio source.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGuid | AssetClassID | ||
| bool | bIsPreset | ||
| FPerPlatformFloat | BlockRateOverride | Override the BlockRate for this Sound (overrides Quality). NOTE: A Zero value will have no effect and use either the Quality setting (if set), or the defaults. | |
| TObjectPtr< UMetasoundEditorGraphBase > | EditorGraph | ||
| TObjectPtr< UMetasoundEditorGraphBase > | Graph | ||
| FOnGeneratorInstanceCreated | OnGeneratorInstanceCreated | ||
| FOnGeneratorInstanceDestroyed | OnGeneratorInstanceDestroyed | ||
| EMetaSoundOutputAudioFormat | OutputFormat | The output audio format of the metasound source. | |
| FName | QualitySetting | The QualitySetting MetaSound will use, as defined in 'MetaSound' Settings. | |
| FGuid | QualitySettingGuid | This a editor only look up for the Quality Setting above. Preventing orphaning of the original name. | |
| TSet< FSoftObjectPath > | ReferenceAssetClassCache | ||
| TSet< FString > | ReferencedAssetClassKeys | ||
| TSet< TObjectPtr< UObject > > | ReferencedAssetClassObjects | ||
| FString | RegistryInputTypes | ||
| FString | RegistryOutputTypes | ||
| int32 | RegistryVersionMajor | ||
| int32 | RegistryVersionMinor | ||
| FMetasoundFrontendDocument | RootMetasoundDocument | ||
| FPerPlatformInt | SampleRateOverride | Override the SampleRate for this Sound (overrides Quality). NOTE: A Zero value will have no effect and use either the Quality setting (if set), or the Device Rate. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMetaSoundSource
(
const FObjectInitializer& ObjectInitializer |
Functions
Overridden from FMetasoundAssetBase
| Type | Name | Description | |
|---|---|---|---|
| const TSet< FSoftObjectPath > & | Return all dependent asset paths to load asynchronously. | ||
| FText | Name to display in editors. | ||
| Metasound::Frontend::FDocumentAccessPtr | Returns an access pointer to the document. | ||
| Metasound::Frontend::FConstDocumentAccessPtr | Returns an access pointer to the document. | ||
| UEdGraph * | GetGraph () |
Returns the graph associated with this Metasound. | |
| UEdGraph & | |||
| UObject * | Returns the owning asset responsible for transactions applied to MetaSound. | ||
| const UObject * | Returns the owning asset responsible for transactions applied to MetaSound. | ||
| const TSet< FString > & | Returns all the class keys of this asset's referenced assets. | ||
| TArray< FMetasoundAssetBase * > | Returns set of class references set call to serialize in the editor Used at runtime load register referenced classes. | ||
| void | MigrateEditorGraph
(
FMetaSoundFrontendDocumentBuilder& OutBuilder |
||
| void | OnAsyncReferencedAssetsLoaded
(
const TArray< FMetasoundAssetBase* >& InAsyncReferences |
Called when async assets have finished loading. | |
| void | SetGraph
(
UEdGraph* InGraph |
Sets the graph associated with this Metasound. | |
| void | SetReferencedAssetClasses
(
TSet< Metasound::Frontend::IMetaSoundAssetManager::FAssetInfo >&& InAssetClasses |
||
| void | SetRegistryAssetClassInfo
(
const Metasound::Frontend::FNodeClassInfo& InNodeInfo |
Sets Asset Registry Metadata associated with this MetaSoundSource. | |
| void | UpdateAndRegisterForExecution
(
Metasound::Frontend::FMetaSoundAssetRegistrationOptions InRegistrationOptions |
Registers the root graph of the given asset with the MetaSound Frontend. |
Overridden from IMetaSoundDocumentInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | Conforms UProperty data outside the Frontend Document Model to the document's data. | ||
| FTopLevelAssetPath | |||
| const UClass & | Returns the parent class registered with the MetaSound UObject registry. | ||
| const UClass & | Returns the builder class used to modify the given document. | ||
| const FMetasoundFrontendDocument & | Returns read-only reference to the the MetaSoundFrontendDocument containing all MetaSound runtime & editor data. | ||
| bool | Returns whether or not a document builder is currently active and can mutate the given interface's document. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FAudioParameterCollector |