Navigation
API > API/Plugins > API/Plugins/DMXFixtures
Specific class to handle color mixing using 4 channels (rgb, cmy, rgbw). Note, the color values are never interpolated.
| Name | UDMXFixtureComponentColor |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXFixtures/Source/DMXFixtures/Public/DMXFixtureComponentColor.h |
| Include Path | #include "DMXFixtureComponentColor.h" |
Syntax
UCLASS (ClassGroup=DMXFixtureComponent, Meta=(IsBlueprintBase=true))
class UDMXFixtureComponentColor : public UDMXFixtureComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UDMXFixtureComponent → UDMXFixtureComponentColor
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDMXFixtureComponentColor() |
DMXFixtureComponentColor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentTargetColorRef | FLinearColor * | Pointer to the current target color, corresponding to the current cell | DMXFixtureComponentColor.h | |
| DMXChannel1 | FDMXAttributeName | DMXFixtureComponentColor.h |
|
|
| DMXChannel2 | FDMXAttributeName | DMXFixtureComponentColor.h |
|
|
| DMXChannel3 | FDMXAttributeName | DMXFixtureComponentColor.h |
|
|
| DMXChannel4 | FDMXAttributeName | DMXFixtureComponentColor.h |
|
|
| TargetColorArray | TArray< FLinearColor > | The target color, when interpolating. Otherwise just the final color | DMXFixtureComponentColor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsColorValid
(
const FLinearColor& NewColor |
True if the color is valid for the component | DMXFixtureComponentColor.h | |
void SetColorNoInterp
(
const FLinearColor& NewColor |
Sets the color of the component. Note DMX Fixture Component Color does not support interpolation | DMXFixtureComponentColor.h |
|
void SetComponent
(
FLinearColor NewColor |
DEPRECATED 4.27. | DMXFixtureComponentColor.h | |
void SetTargetColor
(
const FLinearColor& NewColor |
Sets the target color for the current cell | DMXFixtureComponentColor.h |
Overridden from UDMXFixtureComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| DMXFixtureComponentColor.h | |||
virtual void Initialize() |
Initializes the interpolation range of the channels | DMXFixtureComponentColor.h | |
virtual void PushNormalizedValuesPerAttribute
(
const FDMXNormalizedAttributeValueMap& ValuePerAttribute |
Pushes DMX Values to the Fixture Component. Expects normalized values in the range of 0.0f to 1.0f | DMXFixtureComponentColor.h | |
virtual void SetCurrentCell
(
int Index |
Sets the current cell | DMXFixtureComponentColor.h |