Navigation
Unreal Engine C++ API Reference > Plugins > DMXRuntime > Library
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDMXObjectBase
- UDMXLibrary
References
Module | DMXRuntime |
Header | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXRuntime/Public/Library/DMXLibrary.h |
Include | #include "Library/DMXLibrary.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, Config=DMXEditor, AutoExpandCategories=DMX)
class UDMXLibrary : public UDMXObjectBase
Remarks
DMX Library.
Holds Fixture Types and Fixture Patches that can be used to send and receive DMX.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() |
FDMXLibraryPortReferences | PortReferences | Ports of the Library |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UDMXLibrary () |
Constructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddEntity
(
UDMXEntity* InEntity |
Adds an Entity to the library |
![]() |
UDMXEntity * | FindEntity
(
const FGuid& Id |
Returns an Entity with the passed in ID. |
![]() ![]() |
UDMXEntity * | FindEntity
(
const FString& InSearchName |
Returns an Entity named InSearchName. |
![]() ![]() |
int32 | FindEntityIndex
(
UDMXEntity* InEntity |
The finds the index of an existing entity. |
![]() ![]() |
void | ForEachEntityOfType
(
TFunction< void(EntityType*)> Predicate |
Calls Predicate on all Entities of the template type. This is the version without break. |
![]() ![]() |
void | ForEachEntityOfType
(
TSubclassOf< UDMXEntity > InEntityClass, |
Calls Predicate on all Entities of the passed in type. |
![]() ![]() |
void | ForEachEntityOfTypeWithBreak
(
TFunction< bool(EntityType*)> Predicate |
Calls Predicate on all Entities of the template type Return false from the predicate to break the iteration loop or true to keep iterating. |
![]() ![]() |
void | ForEachEntityOfTypeWithBreak
(
TSubclassOf< UDMXEntity > InEntityClass, |
Calls Predicate on all Entities of the passed in type. |
![]() ![]() |
TSet< FDMXPortSharedRef > | Returns all ports as a set, slower than GetInputPorts and GetOutputPorts. | |
![]() ![]() |
TSet< int32 > | Returns all local Universe IDs in Ports | |
![]() ![]() |
const TArray< UDMXEntity * > & | GetEntities () |
Returns all Entities in this DMX Library |
![]() ![]() |
TArray< UDMXEntity * > | GetEntitiesOfType
(
TSubclassOf< UDMXEntity > InEntityClass |
Get an array with entities from the specified UClass, but not typecast. |
![]() ![]() |
FName | ||
![]() ![]() |
TArray< EntityType * > | Get an array of Entities from the specified template type, already cast. | |
![]() ![]() |
FName | ||
![]() ![]() |
const TSet< FDMXInputPortSharedRef > & | Returns the input ports | |
![]() ![]() |
TWeakObjectPtr< UDMXEntity > | Returns the Entity that was last added to the Library | |
![]() ![]() |
UDMXMVRGeneralSceneDescription * | Returns the General Scene Description of the Library. | |
![]() ![]() |
FDMXOnEntityArrayChangedDelegate & | Returns a delegate that is broadcast when entities were added to the library | |
![]() ![]() |
FDMXOnEntityArrayChangedDelegate & | Returns a delegate that is broadcast when entities were removed from the library | |
![]() |
FOnEntitiesUpdated_DEPRECATED & | ||
![]() |
UDMXEntity * | GetOrCreateEntityObject
(
const FString& InName, |
|
![]() ![]() |
const TSet< FDMXOutputPortSharedRef > & | Returns the output ports | |
![]() ![]() |
FName | ||
![]() |
void | RegisterEntity
(
UDMXEntity* Entity |
Registers an Entity with this Library |
![]() |
void | Empties this DMX Library array of Entities | |
![]() |
void | RemoveEntity
(
const FString& EntityName |
Removes an Entity from this DMX Library searching it by name. |
![]() |
void | RemoveEntity
(
UDMXEntity* InEntity |
Removes an Entity from this DMX Library. |
![]() |
void | SetEntityIndex
(
UDMXEntity* InEntity, |
Move an Entity to a specific index in the Entities Array. |
![]() |
void | SetMVRGeneralSceneDescription
(
UDMXMVRGeneralSceneDescription* NewGeneralSceneDescription |
Sets the MVR General Scene Description of the Library. |
![]() |
void | UnregisterEntity
(
UDMXEntity* Entity |
Unregisters an Entity from this Library |
![]() |
UDMXMVRGeneralSceneDescription * | Updates the General Scene Description to reflect the Library | |
![]() |
void | UpdatePorts () |
Updates the ports from what's set in the Input and Output Port References arrays |
![]() |
void | Upgrades libraries that use controllers (before 4.27) to use ports instead (from 4.27 on). |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostDuplicate
(
EDuplicateMode::Type DuplicateMode |
|
![]() ![]() |
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. |
Constants
Name | Description |
---|---|
OnEntitiesAddedDelegate | Delegate broadcast when Entities were added |
OnEntitiesRemovedDelegate | Delegate broadcast when Entities were removed |