FDMXRuntimeUtils

Choose your operating system:

Windows

macOS

Linux

References

Module

DMXRuntime

Header

/Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXRuntime/Public/DMXRuntimeUtils.h

Include

#include "DMXRuntimeUtils.h"

Syntax

class FDMXRuntimeUtils

Constructors

Name Description

Public function

FDMXRuntimeUtils()

Can't instantiate this class

Functions

Name Description

Public function Static

FString

 

FindUniqueEntityName

(
    const UDMXLibrary* InLibrary,
    TSubclassOf< UDMXEntity > InEntityC...,
    const FString& InBaseName
)

Creates an unique name for an Entity from a specific type, using the type name as base.

Public function Static

FString

 

GenerateUniqueNameForImportFunction

(
    TMap< FString, uint32 >& OutPotent...,
    const FString& InBaseName
)

Generates a unique name given a base one and a list of potential ones

Public function Static

FString

 

GenerateUniqueNameFromExisting

(
    const TSet< FString >& InExistingN...,
    const FString& InBaseName
)

Generates a unique name given a base one and a list of existing ones, by appending an index to existing names.

Public function Static

bool

 

GetNameAndIndexFromString

(
    const FString& InString,
    FString& OutName,
    int32& OutIndex
)

Utility to separate a name from an index at the end.

Public function Static

TMap< int32,...

 

MapToUniverses

(
    const TArray< UDMXEntityFixturePatc...
)

Maps each patch to its universe.

Public function Static

void

 

PixelMappingDistributionSort

(
    EDMXPixelMappingDistribution InDist...,
    int32 InNumXPanels,
    int32 InNumYPanels,
    const TArray< T >& InUnorderedList,
    TArray< T >& OutSortedList
)

Sort a distribution array for widget InDistribution Distribution schema InNumXPanels Num columns InNumYPanels Num rows InUnorderedList Templated unsorted array input OutSortedList Templated unsorted array output

Public function Static

TOptional< F...

 

SerializeStructToString

(
    const StructType& Struct
)

Serializes a struct to a Sting