Abstract base class for visualisation actors that handle materials. This class provides functionality for setting a material interface and managing a dynamic material instance. More...
#include <ST_VisMaterialBase.h>
Public Member Functions | |
AST_VisMaterialBase () | |
void | OnSetMaterialInterface (UMaterialInterface *MaterialInterface) |
![]() | |
AST_VisBase () | |
virtual void | Tick (float DeltaTime) override |
virtual void | BeginPlay () override |
virtual void | HandleBeginPlay () |
virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
virtual bool | RegisterToIO (EAudioIOType NewAudioIOType) |
bool | RegisterToIO (int32 NewAudioIOType) |
virtual void | DeregisterFromIO (EAudioIOType CurrAudioIOType) |
void | DeregisterFromIO (int32 CurrAudioIOType) |
virtual bool | SetConstantParameters () |
virtual bool | SetDynamicParameters () |
![]() | |
void | OnAudioIOStatusChanged (bool bIsActive, FIntPoint IOId) |
Event triggered when the status of an audio I/O device changes. | |
void | OnRawMagnitudesReady (const TArray< float > &RawMagnitudes, FIntPoint IOId) |
Event triggered when raw magnitude data is ready for an audio I/O device. | |
void | OnFrequencyBandsReady (const TArray< float > &FrequencyBands, int32 NumFrequencyBands, FIntPoint IOId) |
Event triggered when frequency band data is ready for an audio I/O device. | |
void | OnAmplitudesReady (const TArray< float > &Amplitudes, FIntPoint IOId) |
Event triggered when amplitude data is ready for an audio I/O device. | |
void | OnPitchesReady (const TArray< float > &Pitches, 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, FIntPoint IOId) |
Event triggered when a beat is detected in the audio data for an I/O device. | |
Protected Attributes | |
UMaterialInstanceDynamic * | MatiD = nullptr |
![]() | |
USceneComponent * | Root = nullptr |
bool | bCustomBeginPlay = false |
bool | bSamplerActivates = false |
bool | bZeroSamplersDeactivates = false |
int32 | Default_AudioIOs = 0 |
int32 | Registered_AudioIOs = 0 |
Additional Inherited Members | |
![]() | |
virtual void | PostInitializeComponents () override |
Abstract base class for visualisation actors that handle materials. This class provides functionality for setting a material interface and managing a dynamic material instance.
AST_VisMaterialBase::AST_VisMaterialBase | ( | ) |
Default constructor for AST_VisMaterialBase.
void AST_VisMaterialBase::OnSetMaterialInterface | ( | UMaterialInterface * | MaterialInterface | ) |
Sets the material interface for this actor. This is a BlueprintNativeEvent, meaning it can be overridden in Blueprints.
MaterialInterface | The material interface to set for this actor. |
|
protected |
A dynamic material instance used for material manipulation at runtime. This property is transient and only visible in the editor.