Navigation
API > API/Plugins > API/Plugins/DMXFixtures
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UDMXFixtureComponent
- UDMXFixtureComponentDouble
References
| Module | DMXFixtures |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXFixtures/Source/DMXFixtures/Public/DMXFixtureComponentDouble.h |
| Include | #include "DMXFixtureComponentDouble.h" |
Syntax
UCLASS&40;ClassGroup&61;FixtureComponent, Meta&61;&40;IsBlueprintBase&61;true&41;&41;
class UDMXFixtureComponentDouble : public UDMXFixtureComponent
Remarks
Component that uses 2 DMX channels.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDMXChannelData | DMXChannel1 | The first dmx attribute the component handles | |
| FDMXChannelData | DMXChannel2 | The second dmx attribute the component handles |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetDMXInterpolatedStep
(
int32 ChannelIndex |
Gets the interpolation delta value (step) for this frame | |
| float | GetDMXInterpolatedValue
(
int32 ChannelIndex |
Gets the current interpolated value | |
| float | GetDMXTargetValue
(
int32 ChannelIndex |
Gets the target value towards which the component interpolates | |
| bool | IsDMXInterpolationDone
(
int32 ChannelIndex |
True if the target value is reached and no interpolation is required | |
| bool | IsTargetValid
(
int32 ChannelIndex, |
Returns true, if the target value is valid | |
| float | NormalizedToAbsoluteValue
(
int32 ChannelIndex, |
Maps the normalized value to the compoenent's value range | |
| void | SetChannel1ValueNoInterp
(
float Channel1Value |
Sets first value of the second channel. When interpolation is enabled this function should be called until the value is reached, else just once */. | |
| void | SetChannel2ValueNoInterp
(
float Channel2Value |
Sets second value of the second channel. | |
| void | SetTargetValue
(
int32 ChannelIndex, |
Sets the target value for specified channel index. |
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 |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| float | DMXInterpolatedStep
(
int32 ChannelIndex |
Replaced with GetDMXInterpolatedStep | |
| float | DMXInterpolatedValue
(
int32 ChannelIndex |
Replaced with GetDMXInterpolatedValue | |
| float | DMXTargetValue
(
int32 ChannelIndex |
Replaced with GetDMXTargetValue | |
| void | Push
(
int32 ChannelIndex, |
Replaced with SetTargetValue (handling both Push and SetTarget). | |
| float | RemapValue
(
int32 ChannelIndex, |
Replaced with NormalizedToAbsoluteValue | |
| void | SetComponentChannel1
(
float NewValue |
Replaced with SetChannel1ValueNoInterp | |
| void | SetComponentChannel2
(
float NewValue |
Replaced with SetChannel1ValueNoInterp | |
| void | SetTarget
(
int32 ChannelIndex, |
Replaced with SetTargetValue (handling both Push and SetTarget). |