Base class for audio control actors that manage a material-driven LED visualization.
More...
#include <ST_AudioControlMatLEDBase.h>
Base class for audio control actors that manage a material-driven LED visualization.
◆ AST_AudioControlMatLEDBase()
AST_AudioControlMatLEDBase::AST_AudioControlMatLEDBase |
( |
| ) |
|
◆ BeginPlay()
void AST_AudioControlMatLEDBase::BeginPlay |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ EndPlay()
void AST_AudioControlMatLEDBase::EndPlay |
( |
const EEndPlayReason::Type | EndPlayReason | ) |
|
|
overrideprotectedvirtual |
◆ SetMaterial()
void AST_AudioControlMatLEDBase::SetMaterial |
( |
UMaterialInterface * | NewMat | ) |
|
Sets the material to be used for rendering LED visuals.
- Parameters
-
NewMat | - The new material to apply. |
◆ SetResolution()
bool AST_AudioControlMatLEDBase::SetResolution |
( |
FIntPoint | PrevisResolution | ) |
|
|
protected |
Sets the resolution for the LED preview visualization.
- Parameters
-
PrevisResolution | - Desired preview resolution. |
- Returns
- True if successful.
◆ SetupBuffers()
bool AST_AudioControlMatLEDBase::SetupBuffers |
( |
FLEDConfig | LEDConfig, |
|
|
FIntPoint | LEDResolution ) |
|
protected |
Initializes the LED buffers based on the LED configuration and resolution.
- Parameters
-
LEDConfig | - The LED configuration parameters. |
LEDResolution | - The LED resolution to use. |
- Returns
- True if successful.
◆ Tick()
void AST_AudioControlMatLEDBase::Tick |
( |
float | DeltaTime | ) |
|
|
overrideprotectedvirtual |
◆ bRegistered
bool AST_AudioControlMatLEDBase::bRegistered = false |
|
protected |
Whether the LED buffers have been registered.
◆ LEDColourByteArray
TArray<uint8> AST_AudioControlMatLEDBase::LEDColourByteArray |
|
protected |
Raw byte array representing LED color data.
◆ MappedLEDColours
TArray<FColor> AST_AudioControlMatLEDBase::MappedLEDColours |
|
protected |
Mapped LED colors after processing.
◆ PrevisLEDColours
TArray<FColor> AST_AudioControlMatLEDBase::PrevisLEDColours |
|
protected |
LED colors for preview visualization.
◆ RenderTarget
UTextureRenderTarget2D* AST_AudioControlMatLEDBase::RenderTarget = nullptr |
|
protected |
Render target texture used for rendering LED visualization.
The documentation for this class was generated from the following files:
- H:/Games/Unreal/Aaron/FunWithShaders/Plugins/ST_VJMaster/Source/ST_AudioVisualisation/Public/Control/Base/ST_AudioControlMatLEDBase.h
- H:/Games/Unreal/Aaron/FunWithShaders/Plugins/ST_VJMaster/Source/ST_AudioVisualisation/Private/Control/Base/ST_AudioControlMatLEDBase.cpp