Module editor_plugin

Consts

CONTAINER_TOOLBAR = 0'i64
CONTAINER_SPATIAL_EDITOR_MENU = 1'i64
CONTAINER_SPATIAL_EDITOR_SIDE = 2'i64
CONTAINER_SPATIAL_EDITOR_BOTTOM = 3'i64
CONTAINER_CANVAS_EDITOR_MENU = 4'i64
CONTAINER_CANVAS_EDITOR_SIDE = 5'i64
CONTAINER_CANVAS_EDITOR_BOTTOM = 6'i64
CONTAINER_PROPERTY_EDITOR_BOTTOM = 7'i64
DOCK_SLOT_LEFT_UL = 0'i64
DOCK_SLOT_LEFT_BL = 1'i64
DOCK_SLOT_LEFT_UR = 2'i64
DOCK_SLOT_LEFT_BR = 3'i64
DOCK_SLOT_RIGHT_UL = 4'i64
DOCK_SLOT_RIGHT_BL = 5'i64
DOCK_SLOT_RIGHT_UR = 6'i64
DOCK_SLOT_RIGHT_BR = 7'i64
DOCK_SLOT_MAX = 8'i64

Procs

proc addControlToContainer(self: EditorPlugin; container: int64; control: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addControlToBottomPanel(self: EditorPlugin; control: Object; title: string): ToolButton {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc addControlToDock(self: EditorPlugin; slot: int64; control: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeControlFromDocks(self: EditorPlugin; control: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeControlFromBottomPanel(self: EditorPlugin; control: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeControlFromContainer(self: EditorPlugin; container: int64; control: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addToolMenuItem(self: EditorPlugin; name: string; handler: Object;
                    callback: string; ud: Variant = newVariant()) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addToolSubmenuItem(self: EditorPlugin; name: string; submenu: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeToolMenuItem(self: EditorPlugin; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addCustomType(self: EditorPlugin; typee: string; base: string; script: Script;
                  icon: Texture) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeCustomType(self: EditorPlugin; typee: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addAutoloadSingleton(self: EditorPlugin; name: string; path: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeAutoloadSingleton(self: EditorPlugin; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc updateOverlays(self: EditorPlugin): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc makeBottomPanelItemVisible(self: EditorPlugin; item: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideBottomPanel(self: EditorPlugin) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getUndoRedo(self: EditorPlugin): UndoRedo {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc queueSaveLayout(self: EditorPlugin) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addImportPlugin(self: EditorPlugin; importer: EditorImportPlugin) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeImportPlugin(self: EditorPlugin; importer: EditorImportPlugin) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addSceneImportPlugin(self: EditorPlugin; sceneImporter: EditorSceneImporter) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeSceneImportPlugin(self: EditorPlugin; sceneImporter: EditorSceneImporter) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addExportPlugin(self: EditorPlugin; plugin: EditorExportPlugin) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeExportPlugin(self: EditorPlugin; plugin: EditorExportPlugin) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addInspectorPlugin(self: EditorPlugin; plugin: EditorInspectorPlugin) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeInspectorPlugin(self: EditorPlugin; plugin: EditorInspectorPlugin) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setInputEventForwardingAlwaysEnabled(self: EditorPlugin) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setForceDrawOverForwardingEnabled(self: EditorPlugin) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getEditorInterface(self: EditorPlugin): EditorInterface {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}

Methods

method forwardCanvasGuiInput(self: EditorPlugin; event: InputEvent): bool {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method forwardDrawOverViewport(self: EditorPlugin; overlay: Control) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method forwardForceDrawOverViewport(self: EditorPlugin; overlay: Control) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method forwardSpatialGuiInput(self: EditorPlugin; camera: Camera; event: InputEvent): bool {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method createSpatialGizmo(self: EditorPlugin; forSpatial: Spatial): EditorSpatialGizmo {.
gcsafe, locks: 0, base, raises: [Exception], tags: [RootEffect]
.}
method getPluginName(self: EditorPlugin): string {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method getPluginIcon(self: EditorPlugin): Object {.
gcsafe, locks: 0, base, raises: [Exception], tags: [RootEffect]
.}
method hasMainScreen(self: EditorPlugin): bool {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method makeVisible(self: EditorPlugin; visible: bool) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method edit(self: EditorPlugin; objectt: Object) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method handles(self: EditorPlugin; objectt: Object): bool {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method getState(self: EditorPlugin): Dictionary {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method setState(self: EditorPlugin; state: Dictionary) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method clear(self: EditorPlugin) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method saveExternalData(self: EditorPlugin) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method applyChanges(self: EditorPlugin) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method getBreakpoints(self: EditorPlugin): PoolStringArray {.
gcsafe, locks: 0, base, raises: [Exception], tags: [RootEffect]
.}
method setWindowLayout(self: EditorPlugin; layout: ConfigFile) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method getWindowLayout(self: EditorPlugin; layout: ConfigFile) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method build(self: EditorPlugin): bool {.
gcsafe, locks: 0, base, raises: [], tags: []
.}