mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
410 lines
14 KiB
HTML
410 lines
14 KiB
HTML
|
|
<!DOCTYPE HTML>
|
|
<html lang="" >
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
|
<title>编辑器结构 · Shadow Editor文档</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="description" content="">
|
|
<meta name="generator" content="GitBook 3.2.3">
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/style.css">
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<meta name="HandheldFriendly" content="true"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
|
|
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
|
|
|
|
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div class="book">
|
|
<div class="book-summary">
|
|
|
|
|
|
<div id="book-search-input" role="search">
|
|
<input type="text" placeholder="Type to search" />
|
|
</div>
|
|
|
|
|
|
<nav role="navigation">
|
|
|
|
|
|
|
|
<ul class="summary">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="chapter " data-level="1.1" data-path="../">
|
|
|
|
<a href="../">
|
|
|
|
|
|
<b>1.1.</b>
|
|
|
|
简介
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2" >
|
|
|
|
<span>
|
|
|
|
|
|
<b>1.2.</b>
|
|
|
|
用户界面
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<ul class="articles">
|
|
|
|
|
|
<li class="chapter active" data-level="1.2.1" data-path="structure.html">
|
|
|
|
<a href="structure.html">
|
|
|
|
|
|
<b>1.2.1.</b>
|
|
|
|
编辑器结构
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.2" >
|
|
|
|
<span>
|
|
|
|
|
|
<b>1.2.2.</b>
|
|
|
|
菜单栏
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<ul class="articles">
|
|
|
|
|
|
<li class="chapter " data-level="1.2.2.1" data-path="menu/File.html">
|
|
|
|
<a href="menu/File.html">
|
|
|
|
|
|
<b>1.2.2.1.</b>
|
|
|
|
文件
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.2.2" data-path="menu/Edit.html">
|
|
|
|
<a href="menu/Edit.html">
|
|
|
|
|
|
<b>1.2.2.2.</b>
|
|
|
|
编辑
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.2.3" data-path="menu/Add.html">
|
|
|
|
<a href="menu/Add.html">
|
|
|
|
|
|
<b>1.2.2.3.</b>
|
|
|
|
添加
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.2.4" data-path="menu/Play.html">
|
|
|
|
<a href="menu/Play.html">
|
|
|
|
|
|
<b>1.2.2.4.</b>
|
|
|
|
启动
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.2.5" data-path="menu/View.html">
|
|
|
|
<a href="menu/View.html">
|
|
|
|
|
|
<b>1.2.2.5.</b>
|
|
|
|
视图
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.2.6" data-path="menu/Example.html">
|
|
|
|
<a href="menu/Example.html">
|
|
|
|
|
|
<b>1.2.2.6.</b>
|
|
|
|
示例
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.2.7" data-path="menu/Help.html">
|
|
|
|
<a href="menu/Help.html">
|
|
|
|
|
|
<b>1.2.2.7.</b>
|
|
|
|
帮助
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.3" >
|
|
|
|
<span>
|
|
|
|
|
|
<b>1.3.</b>
|
|
|
|
脚本
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li>
|
|
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
|
|
Published with GitBook
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="book-body">
|
|
|
|
<div class="body-inner">
|
|
|
|
|
|
|
|
<div class="book-header" role="navigation">
|
|
|
|
|
|
<!-- Title -->
|
|
<h1>
|
|
<i class="fa fa-circle-o-notch fa-spin"></i>
|
|
<a href=".." >编辑器结构</a>
|
|
</h1>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="page-wrapper" tabindex="-1" role="main">
|
|
<div class="page-inner">
|
|
|
|
<div id="book-search-results">
|
|
<div class="search-noresults">
|
|
|
|
<section class="normal markdown-section">
|
|
|
|
<h1 id="编辑器结构">编辑器结构</h1>
|
|
<p>Shader Editor的用户界面可以分成菜单栏、场景编辑区、状态栏、侧边栏等几部分。</p>
|
|
<p><img src="image/structure.png" alt="image"></p>
|
|
<h2 id="菜单栏">菜单栏</h2>
|
|
<p>提供Shadow Editor的常用功能,由文件、编辑、添加、启动、视图、示例、帮助等几个功能。</p>
|
|
<p>在菜单栏右侧,还提供了是否自动保存选项和three.js的版本。</p>
|
|
<h2 id="场景编辑区">场景编辑区</h2>
|
|
<p>可以使用鼠标编辑场景中的物体,进行移动、旋转、缩放等操作。</p>
|
|
<p>场景编辑区左下角还提供了当前场景中物体、顶点和三角形的统计数。</p>
|
|
<h2 id="状态栏">状态栏</h2>
|
|
<p>提供移动、旋转、缩放控制,网格数量修改,坐标系控制。</p>
|
|
<h2 id="侧边栏">侧边栏</h2>
|
|
<p>提供场景层次树状图(Hierachy)、工程选项、程序设置,还提供选中物体的属性、几何(Geometry)和材质(Material)设置。</p>
|
|
|
|
|
|
</section>
|
|
|
|
</div>
|
|
<div class="search-results">
|
|
<div class="has-results">
|
|
|
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
<ul class="search-results-list"></ul>
|
|
|
|
</div>
|
|
<div class="no-results">
|
|
|
|
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<script>
|
|
var gitbook = gitbook || [];
|
|
gitbook.push(function() {
|
|
gitbook.page.hasChanged({"page":{"title":"编辑器结构","level":"1.2.1","depth":2,"next":{"title":"菜单栏","level":"1.2.2","depth":2,"ref":"","articles":[{"title":"文件","level":"1.2.2.1","depth":3,"path":"ui/menu/File.md","ref":"ui/menu/File.md","articles":[]},{"title":"编辑","level":"1.2.2.2","depth":3,"path":"ui/menu/Edit.md","ref":"ui/menu/Edit.md","articles":[]},{"title":"添加","level":"1.2.2.3","depth":3,"path":"ui/menu/Add.md","ref":"ui/menu/Add.md","articles":[]},{"title":"启动","level":"1.2.2.4","depth":3,"path":"ui/menu/Play.md","ref":"ui/menu/Play.md","articles":[]},{"title":"视图","level":"1.2.2.5","depth":3,"path":"ui/menu/View.md","ref":"ui/menu/View.md","articles":[]},{"title":"示例","level":"1.2.2.6","depth":3,"path":"ui/menu/Example.md","ref":"ui/menu/Example.md","articles":[]},{"title":"帮助","level":"1.2.2.7","depth":3,"path":"ui/menu/Help.md","ref":"ui/menu/Help.md","articles":[]}]},"previous":{"title":"用户界面","level":"1.2","depth":1,"ref":"","articles":[{"title":"编辑器结构","level":"1.2.1","depth":2,"path":"ui/structure.md","ref":"ui/structure.md","articles":[]},{"title":"菜单栏","level":"1.2.2","depth":2,"ref":"","articles":[{"title":"文件","level":"1.2.2.1","depth":3,"path":"ui/menu/File.md","ref":"ui/menu/File.md","articles":[]},{"title":"编辑","level":"1.2.2.2","depth":3,"path":"ui/menu/Edit.md","ref":"ui/menu/Edit.md","articles":[]},{"title":"添加","level":"1.2.2.3","depth":3,"path":"ui/menu/Add.md","ref":"ui/menu/Add.md","articles":[]},{"title":"启动","level":"1.2.2.4","depth":3,"path":"ui/menu/Play.md","ref":"ui/menu/Play.md","articles":[]},{"title":"视图","level":"1.2.2.5","depth":3,"path":"ui/menu/View.md","ref":"ui/menu/View.md","articles":[]},{"title":"示例","level":"1.2.2.6","depth":3,"path":"ui/menu/Example.md","ref":"ui/menu/Example.md","articles":[]},{"title":"帮助","level":"1.2.2.7","depth":3,"path":"ui/menu/Help.md","ref":"ui/menu/Help.md","articles":[]}]}]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Shadow Editor文档","gitbook":"*","description":"Shadow Editor开发文档"},"file":{"path":"ui/structure.md","mtime":"2018-06-10T13:35:04.748Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-06-10T14:16:15.407Z"},"basePath":"..","book":{"language":""}});
|
|
});
|
|
</script>
|
|
</div>
|
|
|
|
|
|
<script src="../gitbook/gitbook.js"></script>
|
|
<script src="../gitbook/theme.js"></script>
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-search/search.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|