Navigation
API > API/Plugins > API/Plugins/DMXEditor > API/Plugins/DMXEditor/FDMXEditorModule
Description
Creates an instance of a DMX Library editor object.
Note: This function should not be called directly. It should be called from AssetTools handler
| Name | CreateEditor |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXEditor/Public/DMXEditorModule.h |
| Include Path | #include "DMXEditorModule.h" |
| Source | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXEditor/Private/DMXEditorModule.cpp |
TSharedRef < FDMXEditor > CreateEditor
(
const EToolkitMode::Type Mode,
const TSharedPtr < class IToolkitHost > & InitToolkitHost,
UDMXLibrary * DMXLibrary
)
Interface to the new DMX editor
Parameters
| Name | Remarks |
|---|---|
| Mode | Mode that this editor should operate in |
| InitToolkitHost | When Mode is WorldCentric, this is the level editor instance to spawn this editor within |
| DMXLibrary | The DMX object to start editing |