Navigation
Unreal Engine C++ API Reference > Plugins > DMXEditor
References
Module | DMXEditor |
Header | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXEditor/Public/DMXEditorUtils.h |
Include | #include "DMXEditorUtils.h" |
Syntax
class FDMXEditorUtils
Remarks
Generic Editor Utilities. for Fixture Type, refer to DMXFixtureTypeSharedData instead.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Can't instantiate this class |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AreFixtureTypesIdentical
(
const UDMXEntityFixtureType* A, |
Compares the property values of two Fixture Types, including properties in arrays, and returns true if they are almost all the same. |
![]() ![]() |
bool | CanPasteEntities
(
UDMXLibrary* ParentLibrary |
Determines whether the current contents of the clipboard contain paste-able DMX Entity information |
![]() ![]() |
void | Zeros memory in all active DMX buffers of all protocols | |
![]() ![]() |
void | Clears cached data fixture patches received | |
![]() ![]() |
void | CopyEntities
(
const TArray< UDMXEntity* >&& EntitiesToCopy |
Copies Entities to the operating system's clipboard. |
![]() ![]() |
TArray< UDMXEntity * > | CreateEntitiesFromClipboard
(
UDMXLibrary* ParentLibrary |
Creates the copied DMX Entities from the clipboard without attempting to paste/apply them in any way |
![]() ![]() |
bool | DoesLibraryHaveUniverseConflicts
(
UDMXLibrary* Library, |
Locate universe conflicts between libraries |
![]() ![]() |
void | GetAllAssetsOfClass
(
UClass* Class, |
Retrieve all assets for a given class via the asset registry. Will load into memory if needed. |
![]() ![]() |
FText | GetEntityTypeNameText
(
TSubclassOf< UDMXEntity > EntityClass, |
Returns the Entity class type name (e.g: Fixture Type for UDMXEntityFixtureType) in singular or plural |
![]() ![]() |
UPackage * | GetOrCreatePackage
(
TWeakObjectPtr< UObject > Parent, |
Gets the package or creates a new one if it doesn't exist |
![]() ![]() |
bool | IsEntityUsed
(
const UDMXLibrary* InLibrary, |
Checks if the Entity is being referenced by other objects. |
![]() ![]() |
bool | ParseAddress
(
const FString& InputString, |
Parses an Address from a String, exected format is in the form of 'universe.address', e.g. '1.1' |
![]() ![]() |
TArray< FString > | ParseAttributeNames
(
const FString& InputString |
Parses Attribute Names from a String, format can be 'Dimmer', 'Dimmer, Pan, Tilt''. |
![]() ![]() |
bool | ParseFixtureID
(
const FString& InputString, |
Parses a Fixture ID from a String, exected format is an integral value, e.g. '1' |
![]() ![]() |
TArray< int32 > | ParseFixtureIDs
(
const FString& InputString |
Parses Fixture IDs from a String. |
![]() ![]() |
TArray< int32 > | ParseUniverses
(
const FString& InputString |
Parses Universes from a String, format can be '1.', 'Uni 1', 'Universe 1', 'Uni 1, 3-4'. |
![]() ![]() |
void | RenameEntity
(
UDMXLibrary* InLibrary, |
Renames an Entity |
![]() ![]() |
void | UpdatePatchColors
(
UDMXLibrary* Library |
Creates a unique color for all patches that use the default color FLinearColor(1.0f, 0.0f, 1.0f) |
![]() ![]() |
bool | ValidateEntityName
(
const FString& NewEntityName, |
Validates an Entity name, also checking for uniqueness among others of the same type. |
Typedefs
Name | Description |
---|---|
FUnassignedPatchesArray |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AddEntity
(
UDMXLibrary* InLibrary, |
Deprecated in favor of new UDMXEntityFixtureType::CreateFixtureType and UDMXEntityFixturePatch::CreateFixturePatch that support creating patches in blueprints. |
![]() ![]() |
void | AutoAssignedAddresses
(
UDMXEntityFixtureType* ChangedParentFixtureType |
The bAutoAssign property got deprecated in UDMXEntityFixturePatch, so there's no meaning to ever auto assign on Fixture Type changes. So this function is removed without replacement. |
![]() ![]() |
FUnassignedPatchesArray | AutoAssignedAddresses
(
const TArray< UDMXEntityFixturePatch* >& ChangedFixturePatches, |
Simplyifing AutoAssign, just use FDMXEditorUtils::AutoAssignedChannels instead. |
![]() ![]() |
void | AutoAssignedChannels
(
bool bAllowDecrementUniverse, |
AutoAssignedChannels is deprecated without replacement. Please create your own auto assign implementation. See FDMXFixturePatchAutoAssignUtility for an example. |
![]() ![]() |
FString | FindUniqueEntityName
(
const UDMXLibrary* InLibrary, |
Deprecated in favor of UDMXRuntimeUtils::FindUniqueEntityName. |
![]() ![]() |
FString | GenerateUniqueNameFromExisting
(
const TSet< FString >& InExistingNames, |
Moved to DMXRuntimeUtils to allow using it at runtime. |
![]() ![]() |
void | GetEntitiesFromClipboard
(
TArray< UDMXEntity* >& OutNewObjects |
Replaced with FDMXEditorUtils::CreateEntitiesFromClipboard. NOTE: GetEntitiesFromClipboard no longer returns any entities, as entities can only be created within a DMXLibrary. |
![]() ![]() |
void | RemoveEntities
(
UDMXLibrary* InLibrary, |
Replaced with UDMXEntityFixtureType::RemoveFixtureTypeFromLibrary and UDMXEntityFixturePatch::RemoveFixturePatchFromLibrary to support blueprint and runtime changes. |
![]() ![]() |
void | SetNewFixtureFunctionsNames
(
UDMXEntityFixtureType* InFixtureType |
Deprecated to reduce redundant code. Instead use UDMXRuntimeUtils::FindUniqueEntityName. |
![]() ![]() |
bool | TryAutoAssignToUniverses
(
UDMXEntityFixturePatch* Patch, |
Simplyifing AutoAssign, just use FDMXEditorUtils::AutoAssignedAddresses instead. |