FDMXEditorUtils::AddEntity

Creates a named Entity from the specified type and add it to the DMXLibrary.

Windows
MacOS
Linux

References

Module

DMXEditor

Header

/Engine/Plugins/Experimental/DigitalMultiplex/DMXEngine/Source/DMXEditor/Public/DMXEditorUtils.h

Include

#include "DMXEditorUtils.h"

Source

/Engine/Plugins/Experimental/DigitalMultiplex/DMXEngine/Source/DMXEditor/Private/DMXEditorUtils.cpp

Syntax

static bool AddEntity
(
    UDMXLibrary * InLibrary,
    const FString & NewEntityName,
    TSubclassOf< UDMXEntity > NewEntityClass,
    UDMXEntity ** OutNewEntity
)

Remarks

Creates a named Entity from the specified type and add it to the DMXLibrary.

Returns

True if the creation was successful.

Parameters

Parameter

Description

InLibrary

The DMXLibrary object the entity will belong to.

NewEntityName

A name for the new Entity.

NewEntityClass

Type of the new Entity.

OutNewEntity

Returns the created entity.

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