Skip to content

PanelClient beta ​

TypeAlias of @v12-engine/editor

ts
export type PanelClient = Pick<EditorClient, 'shared' | 'stage' | 'project' | 'overview' | 'code' | 'run' | 'addGroundLayer' | 'runtime' | 'applyEnvironment' | 'askPrefabName' | 'assetCategoryName' | 'assetCategoryOf' | 'assetIndex' | 'assets' | 'boxTakes' | 'camera' | 'campaign' | 'cellLayers' | 'changed' | 'changes' | 'checks' | 'cinematics' | 'clipboard' | 'data' | 'deleteModel' | 'detail' | 'dock' | 'doodads' | 'drafts' | 'drawing' | 'edit' | 'doc' | 'editorState' | 'engine' | 'file' | 'files' | 'find' | 'game' | 'gameTools' | 'generate' | 'generator' | 'groundFromMix' | 'groundFromPattern' | 'groundFromPicture' | 'groundFromTexture' | 'groundPatternToPicture' | 'groundPicture' | 'groupSelection' | 'grassBrush' | 'groupTargets' | 'heightmap' | 'hidden' | 'hideTargets' | 'history' | 'importMedia' | 'importModel' | 'inspectModel' | 'isolateSelection' | 'isolating' | 'keys' | 'kinds' | 'lockTargets' | 'locked' | 'logs' | 'framing' | 'looksEntry' | 'makeModelLevels' | 'map' | 'mapFieldChanged' | 'mapId' | 'mayDiscard' | 'modelAnatomy' | 'modelBytes' | 'modelFileOf' | 'moveGroundLayer' | 'movePaletteGroup' | 'objectives' | 'rules' | 'languages' | 'offsetMap' | 'open' | 'openAssets' | 'openDefinition' | 'openGenerated' | 'openMapFile' | 'options' | 'ownerFrom' | 'pack' | 'paintCells' | 'paintCliffLook' | 'paintPathing' | 'palette' | 'panels' | 'perf' | 'pictureOf' | 'pictures' | 'pingHere' | 'placeable' | 'playState' | 'playing' | 'played' | 'playedFoliage' | 'plays' | 'prefabFiles' | 'prefabs' | 'prefs' | 'previewPicture' | 'problems' | 'readHeightmap' | 'recentTiles' | 'redo' | 'registry' | 'removeGround' | 'removeGroundLayer' | 'removeModelLevels' | 'replaceTile' | 'terrainRules' | 'setTerrainRules' | 'applyTerrainRules' | 'replaceWith' | 'replaceable' | 'resetMapField' | 'resetSelectionField' | 'resizeMap' | 'revealEffect' | 'said' | 'saveLook' | 'say' | 'scatterLooks' | 'screen' | 'selectGroup' | 'selectTargets' | 'selectedTargets' | 'selection' | 'selectionFieldChanged' | 'setField' | 'setGround' | 'setGroundLayer' | 'setGroundMix' | 'setName' | 'setPrefs' | 'setScatterLooks' | 'setScatterType' | 'setScatterVariance' | 'setTool' | 'shellState' | 'sounds' | 'statistics' | 'styles' | 'templates' | 'versions' | 'viewPicture' | 'takeFile' | 'testComputer' | 'themeLook' | 'themes' | 'tiles' | 'tool' | 'tools' | 'undo' | 'view' | 'writeModels' | 'writeClips' | 'modelBytes'>;

What the editor's own panels reach of it (the components of ui/): these, and nothing else of it. A panel of a game's own is given the whole editor (EditorPanelProps.editor)