Skip to content

package stage_workspace

import "kaijuengine.com/editor/editor_workspace/stage_workspace"

Types

EntityDataAttachHistory

struct

type EntityDataAttachHistory struct {
    DetailsWorkspace *WorkspaceDetailsUI
    Entity           *editor_stage_manager.StageEntity
    Data             *entity_data_binding.EntityDataEntry
}

EntityDataAttachHistory.Delete

func (h *EntityDataAttachHistory) Delete()

EntityDataAttachHistory.Exit

func (h *EntityDataAttachHistory) Exit()

EntityDataAttachHistory.Redo

func (h *EntityDataAttachHistory) Redo()

EntityDataAttachHistory.Undo

func (h *EntityDataAttachHistory) Undo()

EntityDataDetachHistory

struct

type EntityDataDetachHistory struct {
    DetailsWorkspace *WorkspaceDetailsUI
    Entity           *editor_stage_manager.StageEntity
    Data             *entity_data_binding.EntityDataEntry
}

EntityDataDetachHistory.Delete

func (h *EntityDataDetachHistory) Delete()

EntityDataDetachHistory.Exit

func (h *EntityDataDetachHistory) Exit()

EntityDataDetachHistory.Redo

func (h *EntityDataDetachHistory) Redo()

EntityDataDetachHistory.Undo

func (h *EntityDataDetachHistory) Undo()

HierarchyEntityDragData

struct

type HierarchyEntityDragData struct {
    // Has unexported fields.
}

HierarchyEntityDragData.DragUpdate

func (d HierarchyEntityDragData) DragUpdate()

StageDragContent

struct

type StageDragContent struct {
    // Has unexported fields.
}

StageDragContent.DragUpdate

func (d StageDragContent) DragUpdate()

StageWorkspace

struct

type StageWorkspace struct {
    common_workspace.CommonWorkspace

    // Has unexported fields.
}

StageWorkspace.Close

func (w *StageWorkspace) Close()

StageWorkspace.ConnectSelectedAsDistanceChain

func (w *StageWorkspace) ConnectSelectedAsDistanceChain()

StageWorkspace.ConnectSelectedAsHingeChain

func (w *StageWorkspace) ConnectSelectedAsHingeChain()

StageWorkspace.ConnectSelectedAsRope

func (w *StageWorkspace) ConnectSelectedAsRope()

StageWorkspace.CreateNewCamera

func (w *StageWorkspace) CreateNewCamera() (*editor_stage_manager.StageEntity, bool)

StageWorkspace.CreateNewEntity

func (w *StageWorkspace) CreateNewEntity() (*editor_stage_manager.StageEntity, bool)

StageWorkspace.CreateNewLight

func (w *StageWorkspace) CreateNewLight() (*editor_stage_manager.StageEntity, bool)

StageWorkspace.Hotkeys

func (w *StageWorkspace) Hotkeys() []common_workspace.HotKey

StageWorkspace.Initialize

func (w *StageWorkspace) Initialize(host *engine.Host, ed StageWorkspaceEditorInterface)

StageWorkspace.Open

func (w *StageWorkspace) Open()

StageWorkspace.OpenStage

func (w *StageWorkspace) OpenStage(id string)

StageWorkspace.Update

func (w *StageWorkspace) Update(deltaTime float64)

StageWorkspaceEditorInterface

interface

type StageWorkspaceEditorInterface interface {
    Events() *editor_events.EditorEvents
    History() *memento.History
    Project() *project.Project
    ProjectFileSystem() *project_file_system.FileSystem
    Cache() *content_database.Cache
    FocusInterface()
    BlurInterface()
    Settings() *editor_settings.Settings
    StageView() *editor_stage_view.StageView
    ShowReferences(id string)
    ContentWorkspaceSelected()
    ContentPreviewer() *content_previews.ContentPreviewer
}

WorkspaceContentUI

struct

type WorkspaceContentUI struct {
    // Has unexported fields.
}

WorkspaceDetailsUI

struct

type WorkspaceDetailsUI struct {
    TargetedElementValueReload map[reflect.Value]func()

    // Has unexported fields.
}

WorkspaceHierarchyUI

struct

type WorkspaceHierarchyUI struct {
    // Has unexported fields.
}

WorkspaceUIData

struct

type WorkspaceUIData struct {
    Filters    map[string]int
    Tags       map[string]int
    CameraMode string
}

WorkspaceUIData.SetupUIData

func (w *WorkspaceUIData) SetupUIData(cdb *content_database.Cache, cm string) []string