Navigation
API > API/Plugins > API/Plugins/DMXRuntime > API/Plugins/DMXRuntime/Game
Inheritance Hierarchy
- UActorComponent
- UDMXComponent
References
| Module | DMXRuntime |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXRuntime/Public/Game/DMXComponent.h |
| Include | #include "Game/DMXComponent.h" |
Syntax
UCLASS (ClassGroup=(DMX), Meta=(BlueprintSpawnableComponent),
HideCategories=("Variable", "Sockets", "Activation", "Cooking", "ComponentReplication", "Collision", "ComponentTick"))
class UDMXComponent : public UActorComponent
Remarks
Component that receives DMX input each Tick from a fixture patch.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bReceiveDMXFromPatch | If true, the component will receive DMX from the patch | |
| FDMXEntityFixturePatchRef | FixturePatchRef | ||
| FDMXOnDMXComponentTickSignature | OnDMXComponentTick | Event raised each tick, when the component has a Fixture Patch set and either: | |
| FDMXComponentFixturePatchReceivedSignature | OnFixturePatchReceived | Broadcast when the component's fixture patch received DMX |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPlay () |
||
| void | DestroyComponent
(
bool bPromoteChildren |
||
| UDMXEntityFixturePatch * | Gets the fixture patch used in the component | ||
| void | OnFixturePatchReceivedDMX
(
UDMXEntityFixturePatch* FixturePatch, |
Called when the fixture patch received DMX | |
| void | OnRegister () |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | SetFixturePatch
(
UDMXEntityFixturePatch* InFixturePatch |
Sets the fixture patch used in the component | |
| void | SetReceiveDMXFromPatch
(
bool bReceive |
Sets whether the component receives dmx from the patch. | |
| void | Sets up binding for receiving depending on the patch's and the component's properties | ||
| void | TickComponent
(
float DeltaTime, |
||
| void | Enables or disables the component tick depending of it being required for the OnDXMComponentTick function |