UDMXLibrary

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

DMXRuntime

Header

/Engine/Plugins/Experimental/DigitalMultiplex/DMXEngine/Source/DMXRuntime/Public/Library/DMXLibrary.h

Include

#include "Library/DMXLibrary.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType, Blueprintable)
class UDMXLibrary : public UDMXObjectBase

Functions

Name Description

Public function

void

 

AddEntity

(
    UDMXEntity* InEntity
)

Adds an existing Entity, likely created from a copy/paste operation.

Public function Const

UDMXEntity &...

 

FindEntity

(
    const FString& InSearchName
)

Returns an Entity named InSearchName.

Public function

UDMXEntity &...

 

FindEntity

(
    const FGuid& Id
)

Returns an Entity with the passed in ID.

Public function Const

int32

 

FindEntityIndex

(
    UDMXEntity* InEntity
)

The finds the index of an existing entity.

Public function Const

void

 

ForEachEntityOfType

(
    TFunction< void> ...
)

Calls Predicate on all Entities of the template type. This is the version without break.

Public function Const

void

 

ForEachEntityOfType

(
    TSubclassOf< UDMXEntity > InEntityC...,
    TFunction< void*)> ...
)

Calls Predicate on all Entities of the passed in type.

Public function Const

void

 

ForEachEntityOfTypeWithBreak

(
    TSubclassOf< UDMXEntity > InEntityC...,
    TFunction< bool*)> ...
)

Calls Predicate on all Entities of the passed in type.

Public function Const

void

 

ForEachEntityOfTypeWithBreak

(
    TFunction< bool> ...
)

Calls Predicate on all Entities of the template type Return false from the predicate to break the iteration loop or true to keep iterating.

Public function Const

const TArray...

 

GetEntities()

Returns all Entities in this DMX Library

Public function Const

TArray< UDMX...

 

GetEntitiesOfType

(
    TSubclassOf< UDMXEntity > InEntityC...
)

Get an array with entities from the specified UClass, but not typecast.

Public function Const

TArray< Enti...

 

GetEntitiesTypeCast()

Get an array of Entities from the specified template type, already cast.

Public function

FOnEntitiesU...

 

GetOnEntitiesUpdated()

Called when the list of entities is changed by either adding or removing entities

Public function

UDMXEntity &...

 

GetOrCreateEntityObject

(
    const FString& InName,
    TSubclassOf< UDMXEntity > DMXEntity...
)

Creates a new Entity or return an existing one with the passed in name

Public function

void

 

RemoveAllEntities()

Empties this DMX Library array of Entities

Public function

void

 

RemoveEntity

(
    const FString& EntityName
)

Removes an Entity from this DMX Library searching it by name.

Public function

void

 

RemoveEntity

(
    UDMXEntity* InEntity
)

Removes an Entity from this DMX Library.

Public function

void

 

SetEntityIndex

(
    UDMXEntity* InEntity,
    const int32 NewIndex
)

Move an Entity to a specific index.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostDuplicate

(
    EDuplicateMode::Type DuplicateMode
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss