Navigation
API > API/Plugins > API/Plugins/HarmonixMetasound
| Name | UMetasoundOfflinePlayerComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMetasound/Public/HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h |
| Include Path | #include "HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h" |
Syntax
UCLASS (MinimalAPI)
class UMetasoundOfflinePlayerComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UMetasoundOfflinePlayerComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMetasoundOfflinePlayerComponent() |
HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlockSize | int32 | HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h | ||
| Generator | ISoundGeneratorPtr | HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h | ||
| GeneratorBlockSize | int32 | HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h | ||
| MetasoundSource | TObjectPtr< UMetaSoundSource > | HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h |
|
|
| RenderedSamples | int64 | HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h | ||
| SampleRate | int32 | HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h | ||
| ScratchBuffer | TArray< float > | HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h | ||
| StartSecond | double | HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMetasoundGeneratorHandle * CreateGeneratorBasedOnAudioComponent
(
UAudioComponent* AudioComponent, |
To deprecate, only required to keep engine-only integrated backends happy. | HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h | |
TSharedPtr< Metasound::FMetasoundGeneratorHandle > CreateSharedGeneratorBasedOnAudioComponent
(
UAudioComponent* AudioComponent, |
HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h | ||
TSharedPtr< Metasound::FMetasoundGenerator > GetGenerator() |
HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h | ||
void ReleaseGenerator() |
HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay() |
HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h | ||
virtual void TickComponent
(
float DeltaTime, |
HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
HarmonixMetasound/Components/MetasoundOfflinePlayerComponent.h |