Navigation
API > API/Plugins > API/Plugins/DMXFixtures
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UDMXFixtureComponent
- UDMXFixtureComponentColor
References
| Module | DMXFixtures |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXFixtures/Source/DMXFixtures/Public/DMXFixtureComponentColor.h |
| Include | #include "DMXFixtureComponentColor.h" |
Syntax
UCLASS&40;ClassGroup&61;DMXFixtureComponent, Meta&61;&40;IsBlueprintBase&61;true&41;&41;
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
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor * | CurrentTargetColorRef | Pointer to the current target color, corresponding to the current cell | |
| FDMXAttributeName | DMXChannel1 | ||
| FDMXAttributeName | DMXChannel2 | ||
| FDMXAttributeName | DMXChannel3 | ||
| FDMXAttributeName | DMXChannel4 | ||
| TArray< FLinearColor > | TargetColorArray | The target color, when interpolating. Otherwise just the final color |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsColorValid
(
const FLinearColor& NewColor |
True if the color is valid for the component | |
| void | SetColorNoInterp
(
const FLinearColor& NewColor |
Sets the color of the component. Note DMX Fixture Component Color does not support interpolation | |
| void | SetTargetColor
(
const FLinearColor& NewColor |
Sets the target color for the current cell |
Overridden from UDMXFixtureComponent
| Type | Name | Description | |
|---|---|---|---|
| void | GetSupportedDMXAttributes_Implementation
(
TArray< FName >& OutAttributeNames |
||
| void | Initialize () |
Initializes the interpolation range of the channels | |
| void | PushNormalizedValuesPerAttribute
(
const FDMXNormalizedAttributeValueMap& ValuePerAttribute |
Pushes DMX Values to the Fixture Component. Expects normalized values in the range of 0.0f to 1.0f | |
| void | SetCurrentCell
(
int Index |
Sets the current cell |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetComponent
(
FLinearColor NewColor |
Replaced with SetColorNoInterp |