Navigation
API > API/Plugins > API/Plugins/MetasoundGenerator > API/Plugins/MetasoundGenerator/FMetasoundGenerator
Description
Get a write reference to one of the generator's inputs, if it exists. NOTE: This reference is only safe to use immediately on the same thread that this generator's OnGenerateAudio() is called.
| Name | GetInputWriteReference |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGenerator/Public/MetasoundGenerator.h |
| Include Path | #include "MetasoundGenerator.h" |
template<typename DataType>
TOptional < TDataWriteReference < DataType > > GetInputWriteReference
(
const FVertexName InputName
)
Parameters
| Name | Remarks |
|---|---|
| DataType | The expected data type of the input |
| InputName | The user-defined name of the input |