UDMXFixtureComponentColor

Specific class to handle color mixing using 4 channels (rgb, cmy, rgbw).

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DMXFixtures

Header

/Engine/Plugins/VirtualProduction/DMX/DMXFixtures/Source/DMXFixtures/Public/DMXFixtureComponentColor.h

Include

#include "DMXFixtureComponentColor.h"

Syntax

UCLASS(ClassGroup=DMXFixtureComponent, Meta=(IsBlueprintBase=true))
class UDMXFixtureComponentColor : public UDMXFixtureComponent

Remarks

Specific class to handle color mixing using 4 channels (rgb, cmy, rgbw). Note, the color values are never interpolated.

Variables

Name Description

Public variable

FLinearColor &#...

 

CurrentTargetColorRef

Pointer to the current target color, corresponding to the current cell

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FDMXAttributeNa...

 

DMXChannel1

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FDMXAttributeNa...

 

DMXChannel2

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FDMXAttributeNa...

 

DMXChannel3

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FDMXAttributeNa...

 

DMXChannel4

Public variable

TArray< FLinear...

 

TargetColorArray

The target color, when interpolating. Otherwise just the final color

Constructors

Name Description

Public function

UDMXFixtureComponentColor()

Functions

Name Description

Public function Const

bool

 

IsColorValid

(
    const FLinearColor& NewColor
)

True if the color is valid for the component

Public function UFunction BlueprintCallable, Category, BlueprintImplementableEvent

void

 

SetColorNoInterp

(
    const FLinearColor& NewColor
)

Sets the color of the component.

DMX Fixture Component Color does not support interpolation

Public function

void

 

SetTargetColor

(
    const FLinearColor& NewColor
)

Sets the target color for the current cell

Overridden from UDMXFixtureComponent

Name Description

Public function Virtual

void

 

Initialize()

Initializes the interpolation range of the channels

Public function Virtual

void

 

SetCurrentCell

(
    int Index
)

Sets the current cell

Deprecated Functions

Name Description

Public function

void

 

SetComponent

(
    FLinearColor NewColor
)

Replaced with SetColorNoInterp