AST_M_VisMIDIControlled class, derived from AST_VisMaterialBase and IST_MIDIControlInterface. This actor is responsible for managing MIDI control data and controlling visual effects based on MIDI input. More...
#include <ST_M_VisMIDIControlled.h>
Public Member Functions | |
| AST_M_VisMIDIControlled () | |
| Public Member Functions inherited from AST_VisMaterialBase | |
| AST_VisMaterialBase () | |
| void | OnSetMaterialInterface (UMaterialInterface *MaterialInterface) |
| Public Member Functions inherited from AST_VisBase | |
| AST_VisBase () | |
| virtual void | Tick (float DeltaTime) override |
| virtual void | BeginPlay () override |
| virtual bool | RegisterToIO (EAudioIOType NewAudioIOType) |
| bool | RegisterToIO (int32 NewAudioIOType) |
| virtual void | DeregisterFromIO (EAudioIOType CurrAudioIOType) |
| void | DeregisterFromIO (int32 CurrAudioIOType) |
| Public Member Functions inherited from IST_AudioProcessingInterface | |
| void | OnAudioIOStatusChanged (const bool bIsActive, const FIntPoint IOId) |
| Event triggered when the status of an audio I/O device changes. | |
| void | OnRawMagnitudesReady (const TArray< float > &RawMagnitudes, const FIntPoint IOId) |
| Event triggered when raw magnitude data is ready for an audio I/O device. | |
| void | OnFrequencyBandsReady (const TArray< float > &FrequencyBands, const int32 NumFrequencyBands, const FIntPoint IOId) |
| Event triggered when frequency band data is ready for an audio I/O device. | |
| void | OnAmplitudesReady (const TArray< float > &Amplitudes, const FIntPoint IOId) |
| Event triggered when amplitude data is ready for an audio I/O device. | |
| void | OnPitchesReady (const TArray< float > &Pitches, const FIntPoint IOId) |
| Event triggered when pitch data is ready for an audio I/O device. | |
| void | OnBeatDetected (const TArray< float > &Beats, const TArray< FChannelBeatDetection > &BeatDetectionForChannel, const FIntPoint IOId) |
| Event triggered when a beat is detected in the audio data for an I/O device. | |
| Public Member Functions inherited from IST_MIDIControlInterface | |
| void | OnMIDIItemRegistered () |
| Called when a MIDI item is registered with the system. | |
| void | OnMIDIItemDeregistered () |
| Called when a MIDI item is deregistered from the system. | |
| void | OnMIDINoteOn (int32 Timestamp, int32 Channel, int32 Note, int32 Velocity) |
| Called when a MIDI Note On message is received. | |
| void | OnMIDINoteOff (int32 Timestamp, int32 Channel, int32 Note, int32 Velocity) |
| Called when a MIDI Note Off message is received. | |
| void | OnMIDIPitchBend (FIntPoint PitchBendRange, int32 Timestamp, int32 Channel, int32 Pitch) |
| Called when a MIDI Pitch Bend message is received. | |
| void | OnMIDIAftertouch (int32 Timestamp, int32 Channel, int32 Note, int32 Amount) |
| Called when a MIDI Aftertouch (per-note) message is received. | |
| void | OnMIDIControlChange (FIntPoint ControlChangeRange, int32 Timestamp, int32 Channel, int32 Type, int32 Value) |
| Called when a MIDI Control Change (CC) message is received. | |
| void | OnMIDIProgramChange (int32 Timestamp, int32 Channel, int32 ControlID, int32 Velocity) |
| Called when a MIDI Program Change message is received. | |
| void | OnMIDIChannelAftertouch (int32 Timestamp, int32 Channel, int32 Amount) |
| Called when a MIDI Channel Aftertouch message is received. | |
Protected Member Functions | |
| virtual void | HandleBeginPlay () override |
| virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
| virtual bool | SetConstantParameters () override |
| virtual bool | SetDynamicParameters () override |
| void | OnMIDIControlChange_Implementation (FIntPoint ControlChangeRange, int32 Timestamp, int32 Channel, int32 Type, int32 Value) override |
| Protected Member Functions inherited from AST_VisBase | |
| virtual void | PostInitializeComponents () override |
Protected Attributes | |
| class UST_MIDIManager * | CachedMIDIManager = nullptr |
| class UPostProcessComponent * | PostProcess = nullptr |
| Protected Attributes inherited from AST_VisMaterialBase | |
| UMaterialInstanceDynamic * | MatiD = nullptr |
| Protected Attributes inherited from AST_VisBase | |
| USceneComponent * | Root = nullptr |
| bool | bCustomBeginPlay = false |
| bool | bSamplerActivates = false |
| bool | bZeroSamplersDeactivates = false |
| int32 | Default_AudioIOs = 0 |
| int32 | Registered_AudioIOs = 0 |
AST_M_VisMIDIControlled class, derived from AST_VisMaterialBase and IST_MIDIControlInterface. This actor is responsible for managing MIDI control data and controlling visual effects based on MIDI input.
| AST_M_VisMIDIControlled::AST_M_VisMIDIControlled | ( | ) |
Default constructor for the AST_M_VisMIDIControlled class. Initializes default values for this actor's properties.
|
overrideprotectedvirtual |
Handles the end of the actor's life cycle when it is destroyed or the world ends.
| EndPlayReason | The reason the actor is ending play. |
Reimplemented from AST_VisBase.
|
overrideprotectedvirtual |
Handles the start of the actor's life cycle when it begins play. This method is called when the actor begins play in the game world.
Reimplemented from AST_VisBase.
|
overrideprotected |
Implementation of MIDI control change event handling. This method is called when a MIDI control change event occurs.
| ControlChangeRange | The range of control change values. |
| Timestamp | The timestamp of the MIDI event. |
| Channel | The MIDI channel number for the event. |
| Type | The type of MIDI event (e.g., control change). |
| Value | The value associated with the MIDI control change. |
|
overrideprotectedvirtual |
Sets constant parameters for the visual material. This method is responsible for configuring any constant material parameters for the visual effect.
Reimplemented from AST_VisBase.
|
overrideprotectedvirtual |
Sets dynamic parameters for the visual material. This method is responsible for configuring dynamic material parameters that may change during runtime.
Reimplemented from AST_VisBase.
|
protected |
The cached MIDI manager used for managing MIDI input data.
|
protected |
The post-process component associated with this visual actor.