Navigation
API > API/Plugins > API/Plugins/HarmonixMetasound
This next macro does a few things.
- It says, "I want a Metasound exposed asset called 'FFusionPatchAsset' with corresponding TypeInfo, ReadRef, and WriteRef classes."
- That asset is a wrapper around a proxy class that acts as the go-between from the UObject (GC'able) side to the audio render thread side. This proxy class should have already been defined NOTE: This macro has a corresponding "DEFINE_AUDIORENDERABLE_ASSET" that must be added to the cpp file.
This next macro does a few things.
- It says, "I want a Metasound exposed asset called 'FMidiStepSequenceAsset' with corresponding TypeInfo, ReadRef, and WriteRef classes."
- That asset is a wrapper around a proxy class that acts as the go-between from the UObject (GC'able) side to the audio render thread side. So here I tell the macro to wrap "FStepSequenceTable" in a proxy named "FStepSequenceTableProxy" and use that as the "guts" of the FMidiStepSequenceAsset asset. NOTE: This macro has a corresponding "DEFINE_AUDIORENDERABLE_ASSET" that must be added to the cpp file.
This next macro does a few things.
- It says, "I want a Metasound exposed asset called 'FStutterSequenceAsset' with corresponding TypeInfo, ReadRef, and WriteRef classes."
- That asset is a wrapper around a proxy class that acts as the go-between from the UObject (GC'able) side to the audio render thread side. So here I tell the macro to wrap "FStutterSequenceTable" in a proxy named "FStutterSequenceTableProxy" and use that as the "guts" of the FMidiStepSequenceAsset asset. NOTE: This macro has a corresponding "DEFINE_AUDIORENDERABLE_ASSET" that must be added to the cpp file.
| Name | HarmonixMetasound::EMusicPlayerTransportRequest |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMetasound/Public/HarmonixMetasound/DataTypes/MusicTransport.h |
| Include Path | #include "HarmonixMetasound/DataTypes/MusicTransport.h" |
Syntax
namespace HarmonixMetasound
{
enum EMusicPlayerTransportRequest
{
None,
Prepare,
Play,
Pause,
Continue,
Stop,
Kill,
Seek,
Count,
}
}
Values
| Name | Remarks |
|---|---|
| None | |
| Prepare | |
| Play | |
| Pause | |
| Continue | |
| Stop | |
| Kill | |
| Seek | |
| Count |