UDMXFixtureComponentSingle

Component that uses 1 DMX channel.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DMXFixtures

Header

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

Include

#include "DMXFixtureComponentSingle.h"

Syntax

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

Remarks

Component that uses 1 DMX channel.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

FDMXChannelData

 

DMXChannel

Constructors

Name Description

Public function

UDMXFixtureComponentSingle()

Functions

Name Description

Public function Const UFunction BlueprintPure, Category

float

 

GetDMXInterpolatedStep()

Gets the interpolation delta value (step) for this frame

Public function Const UFunction BlueprintPure, Category

float

 

GetDMXInterpolatedValue()

Gets the current interpolated value

Public function Const UFunction BlueprintPure, Category

float

 

GetDMXTargetValue()

Gets the target value towards which the component interpolates

Public function Const UFunction BlueprintPure, Category

bool

 

IsDMXInterpolationDone()

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

Public function

bool

 

IsTargetValid

(
    float Target
)

Retuns true if the target differs from the previous target, and when interpolating, from the current value

Public function Const

float

 

NormalizedToAbsoluteValue

(
    float Alpha
)

Maps the normalized value to the compoenent's value range

Public function

void

 

SetTargetValue

(
    float AbsoluteValue
)

Sets the target value.

Public function UFunction BlueprintCallable, Category, BlueprintImplementableEvent

void

 

SetValueNoInterp

(
    float NewValue
)

Called to set the value.

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()

Replaced with GetDMXInterpolatedStep

Public function

float

 

DMXInterpolatedValue()

Replaced with GetDMXInterpolatedValue

Public function

float

 

DMXTargetValue()

Replaced with GetDMXTargetValue

Public function

void

 

Push

(
    float Target
)

Replaced with SetTargetValue (handling both Push and SetTarget).

Public function

float

 

RemapValue

(
    float Alpha
)

Replaced with NormalizedToAbsoluteValue

Public function

void

 

SetComponent

(
    float NewValue
)

Replaced with SetValueNoInterp

Public function

void

 

SetTarget

(
    float Target
)

Replaced with SetTargetValue (handling both Push and SetTarget).