Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UMediaSoundComponent
- USynthComponent::CreateSoundGenerator()
- UMediaSoundComponent::CreateSoundGenerator()
References
| Module | MediaAssets |
| Header | /Engine/Source/Runtime/MediaAssets/Public/MediaSoundComponent.h |
| Include | #include "MediaSoundComponent.h" |
| Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/MediaSoundComponent.cpp |
virtual ISoundGeneratorPtr CreateSoundGenerator
&40;
const FSoundGeneratorInitParams & InParams
&41;
Remarks
Implemented by the synth component to create a generator object instead of generating audio directly on the synth component. This method prevents UObjects from having to exist in the audio render thread.