Navigation
API > API/Plugins > API/Plugins/DMXRuntime > API/Plugins/DMXRuntime/Library
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDMXObjectBase
- UDMXEntity
- UDMXEntityFixturePatch
References
Module | DMXRuntime |
Header | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXRuntime/Public/Library/DMXEntityFixturePatch.h |
Include | #include "Library/DMXEntityFixturePatch.h" |
Syntax
UCLASS&40;BlueprintType, Blueprintable, Meta&61;&40;DisplayName&61;"DMX Fixture Patch"&41;&41;
class UDMXEntityFixturePatch :
public UDMXEntity,
public FTickableGameObject
Remarks
A DMX fixture patch that can be patch to channels in a DMX Universe via the DMX Library Editor.
Use in DMXComponent or call SetReceiveDMXEnabled with 'true' to enable receiving DMX.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
int32 | ActiveMode | The Index of the Mode in the Fixture Type the Patch uses |
![]() ![]() ![]() ![]() |
bool | bReceiveDMXInEditor | If true, the patch receives dmx and raises the OnFixturePatchReceivedDMX event in editor. |
![]() ![]() ![]() ![]() |
TArray< FName > | CustomTags | Custom tags for filtering patches |
![]() ![]() ![]() ![]() |
FLinearColor | EditorColor | Color when displayed in the fixture patch editor |
![]() ![]() ![]() ![]() ![]() |
FGuid | MVRFixtureUUID | The MVR Fixture UUID when used as such |
![]() |
FDMXOnFixturePatchReceivedDMXDelegate | OnFixturePatchReceivedDMX | Broadcasts when the patch received dmx |
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< UDMXEntityFixtureType > | ParentFixtureTypeTemplate | Property to point to the template parent fixture for details panel purposes |
![]() ![]() ![]() ![]() |
int32 | StartingChannel | Starting Channel of the Patch |
![]() ![]() ![]() ![]() |
int32 | UniverseID | The local universe of the patch |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
bool | ContainsAttribute
(
FDMXAttributeName FunctionAttribute |
Returns true if the fixture patch contains the attribute. |
![]() ![]() ![]() ![]() |
TMap< int32, uint8 > | ConvertAttributeMapToRawMap
(
const TMap< FDMXAttributeName, int32 >& FunctionMap |
Returns a map of function channels and their values. |
![]() ![]() ![]() ![]() |
TMap< FDMXAttributeName, int32 > | ConvertToValidMap
(
const TMap< FDMXAttributeName, int32 >& FunctionMap |
Returns a map that only contains attributes used this patch. |
![]() ![]() ![]() ![]() |
UDMXEntityFixturePatch * | CreateFixturePatchInLibrary
(
FDMXEntityFixturePatchConstructionParams ConstructionParams, |
Creates a new Fixture Patch in the DMX Library using the specified Fixture Type |
![]() ![]() |
bool | FindFixtureID
(
int32& OutFixtureID |
Tries to find the fixture ID of the patch. |
![]() ![]() |
const FDMXFixtureMode * | Returns the active mode, or nullptr if there is no valid active mode | |
![]() ![]() |
int32 | Returns the index of the Mode the Patch uses from its Fixture Type | |
![]() ![]() |
FName | ||
![]() ![]() ![]() ![]() |
TArray< FDMXAttributeName > | Returns an array of valid attributes for the currently active mode. | |
![]() ![]() ![]() |
bool | GetAllMatrixCells
(
TArray< FDMXCell >& Cells |
Gets all matrix cells |
![]() ![]() ![]() ![]() |
TMap< FDMXAttributeName, int32 > | Returns a map of Attributes and their assigned channels | |
![]() ![]() ![]() ![]() |
TMap< FDMXAttributeName, int32 > | Returns a map of function names and default values. | |
![]() ![]() |
const FDMXFixtureFunction * | GetAttributeFunction
(
const FDMXAttributeName& Attribute |
Returns the function currently mapped to the passed in Attribute, if any. |
![]() ![]() ![]() ![]() |
TMap< FDMXAttributeName, FDMXFixtureFunction > | Returns a map of attributes and function names. | |
![]() ![]() ![]() ![]() |
TMap< FDMXAttributeName, EDMXFixtureSignalFormat > | Returns a map of function names and their Data Types. | |
![]() ![]() ![]() |
void | GetAttributesValues
(
TMap< FDMXAttributeName, int32 >& AttributesValues |
Returns the value of each attribute, or zero if no value was ever received. |
![]() ![]() ![]() |
int32 | GetAttributeValue
(
FDMXAttributeName Attribute, |
Retrieves the value of an Attribute. Will fail and return 0 if the Attribute doesn't exist. |
![]() ![]() ![]() |
bool | GetCellAttributes
(
TArray< FDMXAttributeName >& CellAttributes |
Gets all attributes names of a cell |
![]() ![]() ![]() ![]() |
int32 | Returns the number of channels this Patch occupies with the Fixture functions from its Active Mode or 0 if the patch has no valid Active Mode | |
![]() ![]() |
const TArray< FName > & | Returns custom tags defined for the patch | |
![]() ![]() ![]() ![]() |
int32 | Returns the last channel of the patch | |
![]() ![]() |
UDMXEntityFixtureType * | Gets the parent fixture type this was constructed from | |
![]() ![]() |
const FDMXSignalSharedPtr & | Returns the last received DMX signal. | |
![]() ![]() ![]() |
bool | GetMatrixCell
(
const FIntPoint& CellCoordinate, |
Gets the cell corresponding to the passed in coordinate |
![]() ![]() ![]() |
bool | GetMatrixCellChannelsAbsolute
(
const FIntPoint& CellCoordinate, |
Gets the absolute starting channel of each cell attribute at given coordinate |
![]() ![]() ![]() |
bool | GetMatrixCellChannelsAbsoluteWithValidation
(
const FIntPoint& InCellCoordinate, |
Validates and gets the absolute starting channel of each cell attribute at given coordinate |
![]() ![]() ![]() |
bool | GetMatrixCellChannelsRelative
(
const FIntPoint& CellCoordinate, |
Gets the starting channel of each cell attribute at given coordinate, relative to the Starting Channel of the patch. |
![]() ![]() ![]() |
bool | GetMatrixCellValues
(
const FIntPoint& CellCoordinate, |
Gets the DMX Cell value using matrix coordinates |
![]() ![]() ![]() ![]() |
bool | GetMatrixProperties
(
FDMXFixtureMatrix& MatrixProperties |
Gets the Matrix Fixture properties, returns false if the patch is not using a matrix fixture |
![]() ![]() |
const FGuid & | Returns the MVR Fixture UUIDs of this patch | |
![]() ![]() |
FName | ||
![]() ![]() ![]() |
void | GetNormalizedAttributesValues
(
FDMXNormalizedAttributeValueMap& NormalizedAttributesValues |
Returns the normalized value of each attribute, or zero if no value was ever received. |
![]() ![]() ![]() |
float | GetNormalizedAttributeValue
(
FDMXAttributeName Attribute, |
Retrieves the normalized value of an Attribute. |
![]() ![]() ![]() |
bool | GetNormalizedMatrixCellValues
(
const FIntPoint& CellCoordinate, |
Gets the DMX Cell value using matrix coordinates. |
![]() ![]() |
FDMXOnFixturePatchChangedDelegate & | Returns a delegate that is and should be broadcast whenever a Fixture Type changed | |
![]() ![]() |
FName | ||
![]() ![]() ![]() ![]() |
int32 | Return the starting channel | |
![]() ![]() |
FName | ||
![]() ![]() |
int32 | Returns the universe ID of the patch | |
![]() ![]() |
FName | Property name getters. | |
![]() ![]() ![]() ![]() |
bool | IsMapValid
(
const TMap< FDMXAttributeName, int32 >& FunctionMap |
Returns true if given function map is valid for this fixture. |
![]() |
void | RebuildCache () |
Rebuilds the cache. |
![]() ![]() ![]() ![]() |
void | RemoveFixturePatchFromLibrary
(
FDMXEntityFixturePatchRef FixturePatchRef |
Removes a fixture patch from the DMX Library |
![]() ![]() ![]() |
void | SendDMX
(
TMap< FDMXAttributeName, int32 > AttributeMap |
Send DMX using attribute names and integer values. |
![]() ![]() ![]() |
bool | SendMatrixCellValue
(
const FIntPoint& CellCoordinate, |
Sends the DMX value of the Attribute to specified matrix coordinates |
![]() ![]() ![]() |
bool | SendNormalizedMatrixCellValue
(
const FIntPoint& CellCoordinate, |
Maps the normalized value to the Attribute's full value range and sends it to specified matrix coordinates |
![]() |
bool | SetActiveModeIndex
(
int32 NewActiveModeIndex |
Sets the index of the Mode the Patch uses from its Fixture Type |
![]() ![]() ![]() |
void | SetFixtureType
(
UDMXEntityFixtureType* NewFixtureType |
Sets the fixture type this is using |
![]() ![]() ![]() |
void | SetStartingChannel
(
int32 NewStartingChannel |
Sets the starting channel of the Fixture Patch. |
![]() |
void | SetUniverseID
(
int32 NewUniverseID |
Sets the Universe ID of the patch |
![]() |
void | Called from Fixture Type to keep ActiveMode in valid range when Modes are removed from the Type |
Overridden from UDMXEntity
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | IsValidEntity
(
FText& OutReason |
Checks for Entity correctness for usability with protocols. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Modify
(
bool bAlwaysMarkDirty |
Note that the object will be modified. |
![]() ![]() |
void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
This alternate version of PostEditChange is called when properties inside structs are modified. |
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Overridden from FTickableGameObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | Used to determine whether the object should be ticked in the editor. |
Overridden from FTickableObjectBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TStatId | GetStatId () |
Return the stat id to use for this tickable |
![]() ![]() ![]() |
ETickableTickType | Virtual that can be overloaded by the inheriting class. | |
![]() ![]() ![]() |
bool | IsTickable () |
Virtual that can be overloaded by the inheriting class. |
![]() ![]() |
void | Tick
(
float DeltaTime |
Pure virtual that must be overloaded by the inheriting class. |
Constants
Name | Description |
---|---|
OnFixturePatchChangedDelegate | Delegate broadcast when a Fixture Patch changed |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
int32 | AutoStartingAddress_DEPRECATED | DEPRECATED 5.1 |
![]() ![]() ![]() |
bool | bAutoAssignAddress_DEPRECATED | DEPRECATED 5.1 |
![]() ![]() ![]() |
int32 | ManualStartingAddress_DEPRECATED | DEPRECATED 5.1 |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Use GetActiveMode instead. | |
![]() ![]() ![]() ![]() |
TMap< FDMXAttributeName, int32 > | ConvertRawMapToAttributeMap
(
const TMap< int32, uint8 >& RawMap |
Deprecated since it's unclear how to use this function correctly. Use UDMXSubsystem::BytesToInt instead. |
![]() ![]() |
FName | bAutoAssignAddress and related members are deprecated. Auto assign is now a method in FDMXEditorUtils and applied on demand. | |
![]() ![]() |
int32 | bAutoAssignAddress and related members are deprecated. Please use GetStartingChannel instead of GetAutoStartingAddress. | |
![]() ![]() |
FName | bAutoAssignAddress and related members are deprecated. Auto assign is now a method in FDMXEditorUtils and applied on demand. | |
![]() ![]() |
int32 | bAutoAssignAddress and related members are deprecated. Please use GetStartingChannel instead of GetManualStartingAddress. | |
![]() ![]() |
FName | bAutoAssignAddress and related members are deprecated. Auto assign is now a method in FDMXEditorUtils and applied on demand. | |
![]() ![]() ![]() ![]() |
TArray< UDMXEntityController * > | Controllers are replaced with DMX Ports. | |
![]() ![]() ![]() ![]() |
int32 | Controllers are replaced with DMX Ports. | |
![]() ![]() |
bool | bAutoAssignAddress and related members are deprecated. Auto assign is now a method in FDMXEditorUtils and applied on demand. | |
![]() ![]() ![]() ![]() |
bool | IsInControllerRange
(
const UDMXEntityController* InController |
Controllers are replaced with DMX Ports. |
![]() ![]() ![]() ![]() |
bool | IsInControllersRange
(
const TArray< UDMXEntityController* >& InControllers |
Controllers are replaced with DMX Ports. |
![]() ![]() ![]() |
bool | SendMatrixCellValueWithAttributeMap
(
const FIntPoint& CellCoordinate, |
Deprecated due to ambigous arguments CellCoordinate and InAttributeNameChannelMap. Use SendMatrixCellValue or SendNormalizedMatrixCellValue instead. |
![]() |
void | SetAutoAssignAddressUnsafe
(
bool bShouldAutoAssignAddress |
bAutoAssignAddress and related members are deprecated. Auto assign is now a method in FDMXEditorUtils and applied on demand. |
![]() |
void | SetAutoStartingAddress
(
int32 NewAutoStartingAddress |
bAutoAssignAddress and related members are deprecated. Please use SetStartingChannel instead of SetAutoStartingAddress. |
![]() |
void | SetManualStartingAddress
(
int32 NewManualStartingAddress |
bAutoAssignAddress and related members are deprecated. Please use SetStartingChannel instead of SetManualStartingAddress. |