Navigation
API > API/Plugins > API/Plugins/MotoSynth
References
| Module | MotoSynth |
| Header | /Engine/Plugins/Experimental/MotoSynth/Source/MotoSynth/Public/MotoSynthEngine.h |
| Include | #include "MotoSynthEngine.h" |
Syntax
class FMotoSynthGrainRuntime
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Generates a sample from the grain. Returns true if fading out. | ||
| void | Init
(
const FGrainInitParams& InInitParams |
||
| bool | IsDone () |
If the grain is done. | |
| bool | IsNearingEnd () |
Returns true if the grain is nearing its end (and a new grain needs to start fading in. | |
| void | SetRPM
(
int32 InRPM |
Updates the grain's RPM. |