Navigation
API > API/Plugins > API/Plugins/MotoSynth > API/Plugins/MotoSynth/SynthComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- USynthComponent
- USynthComponentMoto
- UMotorSimOutputMotoSynth
References
| Module | MotoSynth |
| Header | /Engine/Plugins/Experimental/MotoSynth/Source/MotoSynth/Classes/SynthComponents/SynthComponentMoto.h |
| Include | #include "SynthComponents/SynthComponentMoto.h" |
Syntax
UCLASS&40;ClassGroup&61;Synth, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class USynthComponentMoto : public USynthComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMotoSynthPreset > | MotoSynthPreset | The moto synth preset to use for the moto synth component. | |
| float | RPM | Sets the starting RPM of the engine |
Constructors
| Type | Name | Description | |
|---|---|---|---|
USynthComponentMoto
(
const FObjectInitializer& ObjInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetRPMRange
(
float& OutMinRPM, |
Retrieves RPM range of the moto synth, taking into account the acceleration and deceleration sources. | |
| bool | IsEnabled () |
Returns if the moto synth is enabled. | |
| void | SetRPM
(
float InRPM, |
Sets the RPM of the granular engine directly. | |
| void | SetSettings
(
const FMotoSynthRuntimeSettings& InSettings |
Sets a moto synth settings dynamically. |
Overridden from USynthComponent
| Type | Name | Description | |
|---|---|---|---|
| ISoundGeneratorPtr | CreateSoundGenerator
(
const FSoundGeneratorInitParams& InParams |
Implemented by the synth component to create a generator object instead of generating audio directly on the synth component. |