Navigation
Unreal Engine C++ API Reference > Plugins > Synthesis > SynthComponents
Inheritance Hierarchy
- ISoundGenerator
- FToneGenerator
References
Module | Synthesis |
Header | /Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Classes/SynthComponents/SynthComponentToneGenerator.h |
Include | #include "SynthComponents/SynthComponentToneGenerator.h" |
Syntax
class FToneGenerator : public ISoundGenerator
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FToneGenerator
(
int32 InSampleRate, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | ||
![]() |
void | SetDistance
(
float InDistance |
|
![]() |
void | SetFrequency
(
float InFrequency |
|
![]() |
void | SetVolume
(
float InVolume |
Overridden from ISoundGenerator
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | OnGenerateAudio
(
float* OutAudio, |
Called when a new buffer is required. |