mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-18 15:02:09 +00:00
514 lines
18 KiB
HTML
514 lines
18 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-expandable-chapters-small/expandable-chapters-small.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">
|
|
|
|
|
|
<link rel="next" href="MenuBar.html" />
|
|
|
|
|
|
<link rel="prev" href="../" />
|
|
|
|
|
|
</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 active" data-level="1.2" data-path="UI.html">
|
|
|
|
<a href="UI.html">
|
|
|
|
|
|
<b>1.2.</b>
|
|
|
|
用户界面
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="articles">
|
|
|
|
|
|
<li class="chapter " data-level="1.2.1" data-path="MenuBar.html">
|
|
|
|
<a href="MenuBar.html">
|
|
|
|
|
|
<b>1.2.1.</b>
|
|
|
|
菜单栏
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.2" data-path="AssetsPanel.html">
|
|
|
|
<a href="AssetsPanel.html">
|
|
|
|
|
|
<b>1.2.2.</b>
|
|
|
|
资源管理器
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.3" data-path="Toolbar.html">
|
|
|
|
<a href="Toolbar.html">
|
|
|
|
|
|
<b>1.2.3.</b>
|
|
|
|
工具栏
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.4" data-path="Scene.html">
|
|
|
|
<a href="Scene.html">
|
|
|
|
|
|
<b>1.2.4.</b>
|
|
|
|
场景编辑区
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.5" data-path="AnimationEditor.html">
|
|
|
|
<a href="AnimationEditor.html">
|
|
|
|
|
|
<b>1.2.5.</b>
|
|
|
|
动画编辑区
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.6" data-path="SideBar.html">
|
|
|
|
<a href="SideBar.html">
|
|
|
|
|
|
<b>1.2.6.</b>
|
|
|
|
侧边栏
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="articles">
|
|
|
|
|
|
<li class="chapter " data-level="1.2.6.1" data-path="sidebar/Hierarchy.html">
|
|
|
|
<a href="sidebar/Hierarchy.html">
|
|
|
|
|
|
<b>1.2.6.1.</b>
|
|
|
|
场景面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.6.2" data-path="sidebar/History.html">
|
|
|
|
<a href="sidebar/History.html">
|
|
|
|
|
|
<b>1.2.6.2.</b>
|
|
|
|
历史面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.6.3" data-path="sidebar/Property.html">
|
|
|
|
<a href="sidebar/Property.html">
|
|
|
|
|
|
<b>1.2.6.3.</b>
|
|
|
|
属性面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.6.4" data-path="sidebar/Script.html">
|
|
|
|
<a href="sidebar/Script.html">
|
|
|
|
|
|
<b>1.2.6.4.</b>
|
|
|
|
脚本面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.6.5" data-path="sidebar/Animation.html">
|
|
|
|
<a href="sidebar/Animation.html">
|
|
|
|
|
|
<b>1.2.6.5.</b>
|
|
|
|
动画面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.7" data-path="StatusBar.html">
|
|
|
|
<a href="StatusBar.html">
|
|
|
|
|
|
<b>1.2.7.</b>
|
|
|
|
状态栏
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.3" data-path="../script/Script.html">
|
|
|
|
<a href="../script/Script.html">
|
|
|
|
|
|
<b>1.3.</b>
|
|
|
|
脚本
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.4" data-path="../update/UpdateLog.html">
|
|
|
|
<a href="../update/UpdateLog.html">
|
|
|
|
|
|
<b>1.4.</b>
|
|
|
|
更新日志
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</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>Shadow Editor的用户界面包括菜单栏、资源管理器、工具栏、场景编辑区、动画编辑器、侧边栏、状态栏、播放器、脚本编辑器等。</p>
|
|
<p><img src="../images/ui.png" alt="image"></p>
|
|
<h2 id="菜单栏">菜单栏</h2>
|
|
<p>由场景、编辑、二维、几何体、光源、资源、组件、播放、工具、选项、帮助几个菜单组成。</p>
|
|
<p>菜单栏最右侧是three.js的版本。</p>
|
|
<p><img src="../images/menubar.png" alt="image"></p>
|
|
<h2 id="资源管理器">资源管理器</h2>
|
|
<p>由场景、模型、贴图、材质、音频、动画、粒子、预设体、截图、视频、日志等几个面板组成,用于管理所有资源。</p>
|
|
<p><img src="../images/assets-panel.png" alt="image"></p>
|
|
<h2 id="工具栏">工具栏</h2>
|
|
<p>由选择、平移、旋转、缩放、画点、画线、画面、贴花、透视图、正视图、侧视图、顶视图等几个工具组成。</p>
|
|
<p><img src="../images/toolbar.png" alt="image"></p>
|
|
<h2 id="场景编辑区">场景编辑区</h2>
|
|
<p>可以使用鼠标编辑场景中的物体,进行平移、旋转、缩放等操作。左键旋转场景,右键平移场景、滚轮缩放场景。</p>
|
|
<p>选中物体,按<code>Del</code>键可以删除物体。</p>
|
|
<p><img src="../images/scene-editor.png" alt="image"></p>
|
|
<h2 id="动画编辑器">动画编辑器</h2>
|
|
<p>双击添加动画,配合侧边栏动画面板可以创建补间动画。</p>
|
|
<p><img src="../images/anim-editor.png" alt="image"></p>
|
|
<h2 id="侧边栏">侧边栏</h2>
|
|
<p>由场景面板、历史面板、属性面板、脚本面板、动画面板组成。</p>
|
|
<p><strong>场景面板</strong>:编辑场景层级结构,单击选择,双击定位。<br><strong>历史面板</strong>:查看场景编辑历史,可以快速回退到某个历史状态。<br><strong>属性面板</strong>:可视化编辑场景元素的属性。<br><strong>脚本面板</strong>:可以创建脚本,使用脚本编辑器编辑脚本。<br><strong>动画面板</strong>:配合动画编辑器可以编辑补间动画。 </p>
|
|
<p><img src="../images/sidebar.png" alt="image"></p>
|
|
<h2 id="状态栏">状态栏</h2>
|
|
<ol>
|
|
<li>提供场景中所有物体的物体数、顶点数、三角形数。</li>
|
|
<li>启用禁用性能监视器、网格、视角帮助器。</li>
|
|
<li>截图工具和录制视频工具。</li>
|
|
</ol>
|
|
<p><img src="../images/status-bar.png" alt="image"></p>
|
|
<h2 id="播放器">播放器</h2>
|
|
<p>使用播放器播放场景中的所有动画,运行所有脚本。</p>
|
|
<h2 id="脚本编辑器">脚本编辑器</h2>
|
|
<p>新建和编辑Javascript、GLSL、ProgramInfo时,会出现脚本编辑器,带语法高亮和智能提示,非常方便。</p>
|
|
<p>点击叉号关闭窗口时,可以自动保存脚本。</p>
|
|
<p><img src="../images/script-editor.png" alt="image"></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>
|
|
|
|
|
|
|
|
<a href="../" class="navigation navigation-prev " aria-label="Previous page: 简介">
|
|
<i class="fa fa-angle-left"></i>
|
|
</a>
|
|
|
|
|
|
<a href="MenuBar.html" class="navigation navigation-next " aria-label="Next page: 菜单栏">
|
|
<i class="fa fa-angle-right"></i>
|
|
</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<script>
|
|
var gitbook = gitbook || [];
|
|
gitbook.push(function() {
|
|
gitbook.page.hasChanged({"page":{"title":"用户界面","level":"1.2","depth":1,"next":{"title":"菜单栏","level":"1.2.1","depth":2,"path":"ui/MenuBar.md","ref":"ui/MenuBar.md","articles":[]},"previous":{"title":"简介","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"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},"expandable-chapters-small":{},"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/UI.md","mtime":"2019-09-14T02:08:39.933Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-09-15T02:54:19.743Z"},"basePath":"..","book":{"language":""}});
|
|
});
|
|
</script>
|
|
</div>
|
|
|
|
|
|
<script src="../gitbook/gitbook.js"></script>
|
|
<script src="../gitbook/theme.js"></script>
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.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>
|
|
|