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_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: Control) {.
gcsafe, locks: 0
.}
proc addControlToBottomPanel*(self: EditorPlugin; control: Control; title: string): ToolButton {.
gcsafe, locks: 0
.}
proc addControlToDock*(self: EditorPlugin; slot: int64; control: Control) {.
gcsafe, locks: 0
.}
proc removeControlFromDocks*(self: EditorPlugin; control: Control) {.
gcsafe, locks: 0
.}
proc removeControlFromBottomPanel*(self: EditorPlugin; control: Control) {.
gcsafe, locks: 0
.}
proc addToolSubmenuItem*(self: EditorPlugin; name: string; submenu: Object) {.
gcsafe, locks: 0
.}
proc addCustomType*(self: EditorPlugin; typee: string; base: string; script: Script;
                   icon: Texture) {.
gcsafe, locks: 0
.}
proc removeCustomType*(self: EditorPlugin; typee: string) {.
gcsafe, locks: 0
.}
proc getEditorViewport*(self: EditorPlugin): Control {.
gcsafe, locks: 0
.}
proc getResourcePreviewer*(self: EditorPlugin): EditorResourcePreview {.
gcsafe, locks: 0
.}
proc getResourceFilesystem*(self: EditorPlugin): EditorFileSystem {.
gcsafe, locks: 0
.}
proc inspectObject*(self: EditorPlugin; objectt: Object; forProperty: string = "") {.
gcsafe, locks: 0
.}
proc updateCanvas*(self: EditorPlugin) {.
gcsafe, locks: 0
.}
proc makeBottomPanelItemVisible*(self: EditorPlugin; item: Control) {.
gcsafe, locks: 0
.}
proc hideBottomPanel*(self: EditorPlugin) {.
gcsafe, locks: 0
.}
proc getBaseControl*(self: EditorPlugin): Control {.
gcsafe, locks: 0
.}
proc getUndoRedo*(self: EditorPlugin): UndoRedo {.
gcsafe, locks: 0
.}
proc getSelection*(self: EditorPlugin): EditorSelection {.
gcsafe, locks: 0
.}
proc getEditorSettings*(self: EditorPlugin): EditorSettings {.
gcsafe, locks: 0
.}
proc getScriptEditor*(self: EditorPlugin): ScriptEditor {.
gcsafe, locks: 0
.}
proc queueSaveLayout*(self: EditorPlugin) {.
gcsafe, locks: 0
.}
proc editResource*(self: EditorPlugin; resource: Resource) {.
gcsafe, locks: 0
.}
proc openSceneFromPath*(self: EditorPlugin; sceneFilepath: string) {.
gcsafe, locks: 0
.}
proc reloadSceneFromPath*(self: EditorPlugin; sceneFilepath: string) {.
gcsafe, locks: 0
.}
proc addImportPlugin*(self: EditorPlugin; importer: EditorImportPlugin) {.
gcsafe, locks: 0
.}
proc removeImportPlugin*(self: EditorPlugin; importer: EditorImportPlugin) {.
gcsafe, locks: 0
.}
proc setInputEventForwardingAlwaysEnabled*(self: EditorPlugin) {.
gcsafe, locks: 0
.}
proc getOpenScenes*(self: EditorPlugin): Array {.
gcsafe, locks: 0
.}
proc getEditedSceneRoot*(self: EditorPlugin): Node {.
gcsafe, locks: 0
.}

Methods

method forwardCanvasGuiInput*(self: EditorPlugin; canvasXform: Transform2D;
                             event: InputEvent): bool {.
gcsafe, locks: 0, base
.}
method forwardDrawOverCanvas*(self: EditorPlugin; canvasXform: Transform2D;
                             canvas: Control) {.
gcsafe, locks: 0, base
.}
method forwardSpatialGuiInput*(self: EditorPlugin; camera: Camera; event: InputEvent): bool {.
gcsafe, locks: 0, base
.}
method createSpatialGizmo*(self: EditorPlugin; forSpatial: Spatial): EditorSpatialGizmo {.
gcsafe, locks: 0, base
.}
method getName*(self: EditorPlugin): string {.
gcsafe, locks: 0, base
.}
method hasMainScreen*(self: EditorPlugin): bool {.
gcsafe, locks: 0, base
.}
method makeVisible*(self: EditorPlugin; visible: bool) {.
gcsafe, locks: 0, base
.}
method edit*(self: EditorPlugin; objectt: Object) {.
gcsafe, locks: 0, base
.}
method handles*(self: EditorPlugin; objectt: Object): bool {.
gcsafe, locks: 0, base
.}
method getState*(self: EditorPlugin): Dictionary {.
gcsafe, locks: 0, base
.}
method setState*(self: EditorPlugin; state: Dictionary) {.
gcsafe, locks: 0, base
.}
method clear*(self: EditorPlugin) {.
gcsafe, locks: 0, base
.}
method saveExternalData*(self: EditorPlugin) {.
gcsafe, locks: 0, base
.}
method applyChanges*(self: EditorPlugin) {.
gcsafe, locks: 0, base
.}
method getBreakpoints*(self: EditorPlugin): PoolStringArray {.
gcsafe, locks: 0, base
.}
method setWindowLayout*(self: EditorPlugin; layout: ConfigFile) {.
gcsafe, locks: 0, base
.}
method getWindowLayout*(self: EditorPlugin; layout: ConfigFile) {.
gcsafe, locks: 0, base
.}