editor

package
v0.0.0-...-e229e0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2022 License: GPL-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

View Source
const CogIconData = `` /* 552-byte string literal not displayed */
View Source
const CopyIconData = `` /* 836-byte string literal not displayed */
View Source
const FileIconData = `` /* 402-byte string literal not displayed */
View Source
const FolderClosedData = `` /* 455-byte string literal not displayed */
View Source
const FolderOpenData = `` /* 747-byte string literal not displayed */
View Source
const GeometryIconData = `` /* 439-byte string literal not displayed */
View Source
const LinkIconData = `` /* 1342-byte string literal not displayed */
View Source
const PlanetClosedData = `` /* 577-byte string literal not displayed */
View Source
const PlanetOpenData = `` /* 1654-byte string literal not displayed */
View Source
const ResetIconData = `` /* 2035-byte string literal not displayed */
View Source
const RotateIconData = `` /* 1650-byte string literal not displayed */
View Source
const ScaleIconData = `` /* 1427-byte string literal not displayed */
View Source
const TranslateIconData = `` /* 1265-byte string literal not displayed */
View Source
const TrashIconData = `` /* 301-byte string literal not displayed */

Variables

This section is empty.

Functions

func NewEditorController

func NewEditorController(e *Editor) controller.Controller

Types

type Editor

type Editor struct {
	// contains filtered or unexported fields
}

func New

func New(assetDir string) *Editor

func (*Editor) MoveSelectedNodeModel

func (e *Editor) MoveSelectedNodeModel(x, y float32, axisLock mgl32.Vec3)

func (*Editor) RotateSelectedNodeModel

func (e *Editor) RotateSelectedNodeModel(x, y float32, axisLock mgl32.Vec3)

func (*Editor) ScaleSelectedNodeModel

func (e *Editor) ScaleSelectedNodeModel(x, y float32, axisLock mgl32.Vec3)

func (*Editor) Start

func (e *Editor) Start()

type FileBrowser

type FileBrowser struct {
	// contains filtered or unexported fields
}

func (*FileBrowser) ClearFiles

func (fb *FileBrowser) ClearFiles()

func (*FileBrowser) GetFileTextField

func (fb *FileBrowser) GetFileTextField() string

func (*FileBrowser) RenderFile

func (fb *FileBrowser) RenderFile(name, path, img string, depth int)

func (*FileBrowser) SetFileTextField

func (fb *FileBrowser) SetFileTextField(path string)

func (*FileBrowser) SetHeading

func (fb *FileBrowser) SetHeading(heading string)

func (*FileBrowser) UpdateFileSystem

func (fb *FileBrowser) UpdateFileSystem()

type MapLoadUpdate

type MapLoadUpdate struct {
	// contains filtered or unexported fields
}

type Overview

type Overview struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL