UDMXFixtureComponentDouble

Component that uses 2 DMX channels.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DMXFixtures

Header

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

Include

#include "DMXFixtureComponentDouble.h"

Syntax

UCLASS(ClassGroup=FixtureComponent, Meta=(IsBlueprintBase=true))
class UDMXFixtureComponentDouble : public UDMXFixtureComponent

Remarks

Component that uses 2 DMX channels.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

FDMXChannelData

 

DMXChannel1

The first dmx attribute the component handles

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

FDMXChannelData

 

DMXChannel2

The second dmx attribute the component handles

Constructors

Name Description

Public function

UDMXFixtureComponentDouble()

Functions

Name Description

Public function Const UFunction BlueprintPure, Category

float

 

GetDMXInterpolatedStep

(
    int32 ChannelIndex
)

Gets the interpolation delta value (step) for this frame

Public function Const UFunction BlueprintPure, Category

float

 

GetDMXInterpolatedValue

(
    int32 ChannelIndex
)

Gets the current interpolated value

Public function Const UFunction BlueprintPure, Category

float

 

GetDMXTargetValue

(
    int32 ChannelIndex
)

Gets the target value towards which the component interpolates

Public function Const UFunction BlueprintPure, Category

bool

 

IsDMXInterpolationDone

(
    int32 ChannelIndex
)

True if the target value is reached and no interpolation is required

Public function

bool

 

IsTargetValid

(
    int32 ChannelIndex,
    float Target
)

Returns true, if the target value is valid

Public function Const

float

 

NormalizedToAbsoluteValue

(
    int32 ChannelIndex,
    float Alpha
)

Maps the normalized value to the compoenent's value range

Public function UFunction BlueprintCallable, Category, BlueprintImplementableEvent

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 */.

Public function UFunction BlueprintCallable, Category, BlueprintImplementableEvent

void

 

SetChannel2ValueNoInterp

(
    float Channel2Value
)

Sets second value of the second channel.

Public function

void

 

SetTargetValue

(
    int32 ChannelIndex,
    float Value
)

Sets the target value for specified channel index.

Overridden from UDMXFixtureComponent

Name Description

Public function Virtual

void

 

Initialize()

Initializes the interpolation range of the channels

Deprecated Functions

Name Description

Public function

float

 

DMXInterpolatedStep

(
    int32 ChannelIndex
)

Replaced with GetDMXInterpolatedStep

Public function

float

 

DMXInterpolatedValue

(
    int32 ChannelIndex
)

Replaced with GetDMXInterpolatedValue

Public function

float

 

DMXTargetValue

(
    int32 ChannelIndex
)

Replaced with GetDMXTargetValue

Public function

void

 

Push

(
    int32 ChannelIndex,
    float Target
)

Replaced with SetTargetValue (handling both Push and SetTarget).

Public function

float

 

RemapValue

(
    int32 ChannelIndex,
    float Alpha
)

Replaced with NormalizedToAbsoluteValue

Public function

void

 

SetComponentChannel1

(
    float NewValue
)

Replaced with SetChannel1ValueNoInterp

Public function

void

 

SetComponentChannel2

(
    float NewValue
)

Replaced with SetChannel1ValueNoInterp

Public function

void

 

SetTarget

(
    int32 ChannelIndex,
    float Target
)

Replaced with SetTargetValue (handling both Push and SetTarget).