Navigation
API > API/Runtime > API/Runtime/AudioMixer > API/Runtime/AudioMixer/FSoundWaveScrubber
Active grain data for a single grain.
| Name | FGrain |
| Type | struct |
| Header File | /Engine/Source/Runtime/AudioMixer/Classes/Generators/SoundWaveScrubber.h |
| Include Path | #include "Generators/SoundWaveScrubber.h" |
Syntax
struct FGrain
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentReadFrame | int32 | The current read frame of the grain. | Generators/SoundWaveScrubber.h | |
| CurrentRenderedFramesCount | int32 | The number of frames this grain has rendered If this is larger than GrainDurationFrames it's an inactive grain this is used to look up the grain envelope to find the amplitude of the grain per frame | Generators/SoundWaveScrubber.h | |
| DecodedDataChunkIndex | int32 | Index into the decoded data array. | Generators/SoundWaveScrubber.h | |
| GrainDurationFrames | int32 | The duration of this grain. Set when the grain spawns. | Generators/SoundWaveScrubber.h |