Navigation
API > API/Plugins > API/Plugins/DMXRuntime
Class to describe a type of Fixture. Fixture Patches can be created from Fixture Types (see UDMXEntityFixturePatch::ParentFixtureTypeTemplate).
| Name | UDMXEntityFixtureType |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXRuntime/Public/Library/DMXEntityFixtureType.h |
| Include Path | #include "Library/DMXEntityFixtureType.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, Meta=(DisplayName="DMX Fixture Type"))
class UDMXEntityFixtureType : public UDMXEntity
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDMXObjectBase → UDMXEntity → UDMXEntityFixtureType
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDMXEntityFixtureType() |
Library/DMXEntityFixtureType.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnFixtureTypeChangedDelegate | FDMXOnFixtureTypeChangedDelegate | Delegate that should be broadcast whenever a Fixture Type changed | Library/DMXEntityFixtureType.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorClassToSpawn | TSoftClassPtr< AActor > | The Actor Class that is spawned when the DMX Library dropped onto a Level. | Library/DMXEntityFixtureType.h |
|
| bExportGeneratedGDTF | bool | If checked, generates a new GDTF instead of exporting the imported GDTF. | Library/DMXEntityFixtureType.h |
|
| bShowOnlyLatestGDTFModeRevisions | bool | If true only shows latest GDTF mode revisions in editor | Library/DMXEntityFixtureType.h | |
| DMXCategory | FDMXFixtureCategory | The Category of the Fixture, useful for Filtering | Library/DMXEntityFixtureType.h |
|
| DMXImport | TObjectPtr< UDMXImport > | DEPRECATED 5.5 - The GDTF from which this Fixture Type was setup. | Library/DMXEntityFixtureType.h |
|
| GDTFSource | TSoftObjectPtr< UDMXImportGDTF > | The GDTF that initializes this Fixture Type. When changed, reinitializes with data from the GDTF. | Library/DMXEntityFixtureType.h |
|
| InputModulators | TArray< TObjectPtr< UDMXModulator > > | Modulators applied right before a patch of this type is received. | Library/DMXEntityFixtureType.h |
|
| Modes | TArray< FDMXFixtureMode > | Library/DMXEntityFixtureType.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCellAttribute
(
int32 ModeIndex |
Fixture Matrix related. | Library/DMXEntityFixtureType.h | |
int32 AddFunction
(
int32 InModeIndex |
Fixture Function related. | Library/DMXEntityFixtureType.h | |
| Fixture Mode related. | Library/DMXEntityFixtureType.h | ||
void AlignFunctionChannels
(
int32 InModeIndex |
Aligns alls channels of the functions in the Mode to be consecutive | Library/DMXEntityFixtureType.h | |
void ClampFunctionDefautValueByDataType
(
int32 ModeIndex, |
Clamps the Default Value of the Function by its Data Type | Library/DMXEntityFixtureType.h | |
| Adds a Function to the Mode's Function Array | Library/DMXEntityFixtureType.h | ||
| Duplicates the Modes at specified Indices | Library/DMXEntityFixtureType.h | ||
FString GetCleanGDTFFileNameSynchronous
(
bool bWithExtension |
Acquires the GDTF file name of this Fixture Type. | Library/DMXEntityFixtureType.h | |
int32 InsertFunction
(
int32 InModeIndex, |
Inserts a Function to the Mode's Function Array | Library/DMXEntityFixtureType.h | |
void RemoveCellAttribute
(
int32 ModeIndex, |
Removes a cell attribute from the Mode | Library/DMXEntityFixtureType.h | |
void RemoveFunctions
(
int32 ModeIndex, |
Removes Functions from the Mode's Function Array | Library/DMXEntityFixtureType.h | |
void RemoveModes
(
const TArray< int32 >& ModeIndicesToDelete |
Deletes the Modes at specified Indices | Library/DMXEntityFixtureType.h | |
void ReorderFunction
(
int32 ModeIndex, |
Reorders a function to reside at the Insert At Index, subsequently reorders other affected Functions | Library/DMXEntityFixtureType.h | |
void ReorderMatrix
(
int32 ModeIndex, |
Reorders the Fixture Matrix to reside after a function, subsequently reorders other affected Functions | Library/DMXEntityFixtureType.h | |
void SetFixtureMatrixEnabled
(
int32 ModeIndex, |
Enables or disables the Matrix, reorders Function channels accordingly | Library/DMXEntityFixtureType.h | |
| Sets a Mode Name for specified Mode | Library/DMXEntityFixtureType.h | ||
void SetFunctionStartingChannel
(
int32 InModeIndex, |
Sets a Starting Channel for the Function, aligns it to other functions | Library/DMXEntityFixtureType.h | |
| Sets a Mode Name for specified Mode | Library/DMXEntityFixtureType.h | ||
void SetModesFromDMXImport
(
UDMXImport* DMXImportAsset |
Library/DMXEntityFixtureType.h |
|
|
void UpdateChannelSpan
(
int32 ModeIndex |
Updates the channel span of the Mode. | Library/DMXEntityFixtureType.h | |
void UpdateXCellsFromYCells
(
int32 ModeIndex |
Updates the channel span of the Mode. | Library/DMXEntityFixtureType.h | |
void UpdateYCellsFromXCells
(
int32 ModeIndex |
Updates the channel span of the Mode. | Library/DMXEntityFixtureType.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Modify
(
bool bAlwaysMarkDirty |
Library/DMXEntityFixtureType.h | ||
virtual void PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedChainEvent |
Library/DMXEntityFixtureType.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Library/DMXEntityFixtureType.h | ||
virtual void PostEditUndo() |
Library/DMXEntityFixtureType.h | ||
virtual void Serialize
(
FArchive& Ar |
Library/DMXEntityFixtureType.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float BytesToFunctionNormalizedValue
(
const FDMXFixtureFunction& InFunction, |
Library/DMXEntityFixtureType.h | ||
static uint32 BytesToFunctionValue
(
const FDMXFixtureFunction& InFunction, |
Library/DMXEntityFixtureType.h | ||
static uint32 BytesToInt
(
EDMXFixtureSignalFormat InSignalFormat, |
Library/DMXEntityFixtureType.h | ||
static float BytesToNormalizedValue
(
EDMXFixtureSignalFormat InSignalFormat, |
Library/DMXEntityFixtureType.h | ||
static UDMXEntityFixtureType * CreateFixtureTypeInLibrary
(
FDMXEntityFixtureTypeConstructionParams ConstructionParams, |
Creates a new Fixture Type in the DMX Library | Library/DMXEntityFixtureType.h |
|
static void FunctionNormalizedValueToBytes
(
const FDMXFixtureFunction& InFunction, |
Library/DMXEntityFixtureType.h | ||
static void FunctionValueToBytes
(
const FDMXFixtureFunction& InFunction, |
Conversions. @TODO, move to FDMXConversions. | Library/DMXEntityFixtureType.h | |
static FDMXOnFixtureTypeChangedDelegate & GetOnFixtureTypeChanged() |
Returns a delegate that is and should be broadcast whenever a Fixture Type changed | Library/DMXEntityFixtureType.h | |
static void IntToBytes
(
EDMXFixtureSignalFormat InSignalFormat, |
Library/DMXEntityFixtureType.h | ||
static void NormalizedValueToBytes
(
EDMXFixtureSignalFormat InSignalFormat, |
Library/DMXEntityFixtureType.h | ||
static void RemoveFixtureTypeFromLibrary
(
FDMXEntityFixtureTypeRef FixtureTypeRef |
Removes a Fixture Type from a DMX Library | Library/DMXEntityFixtureType.h |
|
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFixtureMatrixEnabled_DEPRECATED | bool | Library/DMXEntityFixtureType.h |
|