Navigation
API > API/Plugins > API/Plugins/MetasoundEngine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMetasoundGeneratorHandle
References
| Module | MetasoundEngine |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundGeneratorHandle.h |
| Include | #include "MetasoundGeneratorHandle.h" |
Syntax
UCLASS (BlueprintType, Category="MetaSound", Meta=(DisplayName="MetaSound Generator Handle"))
class UMetasoundGeneratorHandle : public UObject
Remarks
Blueprint-facing interface to a FMetasoundGenerator on a UAudioComponent.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnAttached | OnGeneratorHandleAttached | ||
| FOnDetached | OnGeneratorHandleDetached | ||
| FOnIOUpdated | OnIOUpdated | ||
| FOnIOUpdatedWithChanges | OnIOUpdatedWithChanges |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | AddGraphSetCallback
(
UMetasoundGeneratorHandle::FOnSetGraph::FDelegate&& Delegate |
||
| bool | ApplyParameterPack
(
UMetasoundParameterPack* Pack |
Makes a copy of the supplied parameter pack and passes it to the MetaSoundGenerator for asynchronous processing. | |
| UMetasoundGeneratorHandle * | CreateMetaSoundGeneratorHandle
(
UAudioComponent* OnComponent |
||
| void | EnableRuntimeRenderTiming
(
bool Enable |
Enable the profiling of the MetaSound render for this playing instance. | |
| uint64 | Get the id for the UAudioComponent associated with this handle. | ||
| double | Get the CPU usage as "fraction of real time" used to render this metasound. | ||
| TSharedPtr< Metasound::FMetasoundGenerator > | GetGenerator () |
Get a shared pointer to the generator, if available. | |
| bool | IsValid () |
||
| void | RegisterPassthroughAnalyzerForType
(
FName TypeName, |
Map a type name to a passthrough analyzer name to use as a default for UMetasoundOutputSubsystem::WatchOutput() | |
| bool | RemoveGraphSetCallback
(
const FDelegateHandle& Handle |
||
| bool | TryCreateAnalyzerAddress
(
const FName OutputName, |
||
| void | Update any watched outputs | ||
| bool | WatchOutput
(
FName OutputName, |
Watch an output value. | |
| bool | WatchOutput
(
FName OutputName, |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. |
Typedefs
| Name | Description |
|---|---|
| FOnAttached | UMetasoundGeneratorHandle shields its "clients" from "cross thread" issues related to callbacks coming in the audio control or rendering threads that game thread clients (e.g. blueprints) want to know about. |
| FOnDetached | |
| FOnIOUpdated | |
| FOnIOUpdatedWithChanges | |
| FOnSetGraph | |
| FOnSetGraphMulticast |