Base class for audio control actors that manage real-time LED visualization via a scene capture.
More...
#include <ST_AudioControlRTLEDBase.h>
Base class for audio control actors that manage real-time LED visualization via a scene capture.
◆ AST_AudioControlRTLEDBase()
AST_AudioControlRTLEDBase::AST_AudioControlRTLEDBase |
( |
| ) |
|
◆ BeginPlay()
void AST_AudioControlRTLEDBase::BeginPlay |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ CreateRenderTarget()
bool AST_AudioControlRTLEDBase::CreateRenderTarget |
( |
FIntPoint | PrevisResolution | ) |
|
|
protected |
Creates a render target with the specified resolution.
- Parameters
-
PrevisResolution | - Desired preview resolution. |
- Returns
- True if the render target was created successfully.
◆ EndPlay()
void AST_AudioControlRTLEDBase::EndPlay |
( |
const EEndPlayReason::Type | EndPlayReason | ) |
|
|
overrideprotectedvirtual |
◆ SetRenderTarget()
void AST_AudioControlRTLEDBase::SetRenderTarget |
( |
UTextureRenderTarget2D * | _Target | ) |
|
Sets the render target for rendering LED visuals.
- Parameters
-
_Target | - The new render target to apply. |
◆ SetupBuffers()
bool AST_AudioControlRTLEDBase::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 the buffers were successfully set up.
◆ SetupSceneCapture()
bool AST_AudioControlRTLEDBase::SetupSceneCapture |
( |
| ) |
|
|
protected |
Sets up the scene capture component.
◆ Tick()
void AST_AudioControlRTLEDBase::Tick |
( |
float | DeltaTime | ) |
|
|
overrideprotectedvirtual |
◆ bRegistered
bool AST_AudioControlRTLEDBase::bRegistered = false |
|
protected |
Whether the LED buffers have been registered.
◆ LEDColourByteArray
TArray<uint8> AST_AudioControlRTLEDBase::LEDColourByteArray |
|
protected |
Raw byte array representing LED color data.
◆ MappedLEDColours
TArray<FColor> AST_AudioControlRTLEDBase::MappedLEDColours |
|
protected |
Mapped LED colors after processing.
◆ PrevisLEDColours
TArray<FColor> AST_AudioControlRTLEDBase::PrevisLEDColours |
|
protected |
LED colors for preview visualization.
◆ RenderTarget
UTextureRenderTarget2D* AST_AudioControlRTLEDBase::RenderTarget = nullptr |
|
protected |
Render target texture used for rendering LED visualization.
◆ SceneCapture
class USceneCaptureComponent2D* AST_AudioControlRTLEDBase::SceneCapture = nullptr |
|
protected |
The scene capture component used for rendering to the render target.
◆ ShowOnlyActors
TArray<TObjectPtr<AActor> > AST_AudioControlRTLEDBase::ShowOnlyActors |
|
protected |
List of actors to show only in the scene capture.
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_AudioControlRTLEDBase.h
- H:/Games/Unreal/Aaron/FunWithShaders/Plugins/ST_VJMaster/Source/ST_AudioVisualisation/Private/Control/Base/ST_AudioControlRTLEDBase.cpp