Navigation
API > API/Plugins > API/Plugins/DMXFixtures
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UDMXFixtureComponent
- UDMXFixtureComponentSingle
References
| Module | DMXFixtures |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXFixtures/Source/DMXFixtures/Public/DMXFixtureComponentSingle.h |
| Include | #include "DMXFixtureComponentSingle.h" |
Syntax
UCLASS&40;ClassGroup&61;FixtureComponent, Meta&61;&40;IsBlueprintBase&61;true&41;&41;
class UDMXFixtureComponentSingle : public UDMXFixtureComponent
Remarks
Component that uses 1 DMX channel.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDMXChannelData | DMXChannel |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Gets the interpolation delta value (step) for this frame | ||
| float | Gets the current interpolated value | ||
| float | Gets the target value towards which the component interpolates | ||
| bool | True if the target value is reached and no interpolation is required | ||
| bool | IsTargetValid
(
float Target |
Retuns true if the target differs from the previous target, and when interpolating, from the current value | |
| float | NormalizedToAbsoluteValue
(
float Alpha |
Maps the normalized value to the compoenent's value range | |
| void | SetTargetValue
(
float AbsoluteValue |
Sets the target value. | |
| void | SetValueNoInterp
(
float NewValue |
Called to set the value. |
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 | Replaced with GetDMXInterpolatedStep | ||
| float | Replaced with GetDMXInterpolatedValue | ||
| float | Replaced with GetDMXTargetValue | ||
| void | Push
(
float Target |
Replaced with SetTargetValue (handling both Push and SetTarget). | |
| float | RemapValue
(
float Alpha |
Replaced with NormalizedToAbsoluteValue | |
| void | SetComponent
(
float NewValue |
Replaced with SetValueNoInterp | |
| void | SetTarget
(
float Target |
Replaced with SetTargetValue (handling both Push and SetTarget). |