mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-18 15:02:09 +00:00
640 lines
26 KiB
HTML
640 lines
26 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="AssetsPanel.html" />
|
|
|
|
|
|
<link rel="prev" href="UI.html" />
|
|
|
|
|
|
</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" data-path="UI.html">
|
|
|
|
<a href="UI.html">
|
|
|
|
|
|
<b>1.2.</b>
|
|
|
|
用户界面
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="articles">
|
|
|
|
|
|
<li class="chapter active" 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>由场景、编辑、二维、几何体、光源、资源、组件、播放、工具、选项、帮助几个菜单组成。</p>
|
|
<p><img src="../images/menubar.png" alt="image"></p>
|
|
<h2 id="场景">场景</h2>
|
|
<p><img src="../images/new-menu.png" alt="image"></p>
|
|
<p><strong>新建</strong></p>
|
|
<p>新建场景,当前场景会被清空。可以创建空场景和GIS场景。</p>
|
|
<p><strong>保存</strong></p>
|
|
<p>保存当前场景。如果是新场景,保存时会提示输入场景名称。如果是载入场景,则直接保存到原场景上。</p>
|
|
<p><strong>另存为</strong></p>
|
|
<p>将当前场景另存为一个新场景。</p>
|
|
<p><strong>发布场景</strong></p>
|
|
<p>将当前场景发布为静态文件,包含场景用到的所有页面、脚本、资源。方便部署在IIS、Apache、Tomcat等服务器软件上。</p>
|
|
<h2 id="编辑">编辑</h2>
|
|
<p><img src="../images/edit-menu.png" alt="image"></p>
|
|
<p><strong>撤销</strong></p>
|
|
<p>撤销上一步操作。</p>
|
|
<p><strong>重做</strong></p>
|
|
<p>重做撤销的操作。</p>
|
|
<p><strong>清空历史记录</strong></p>
|
|
<p>清空所有撤销、重做操作。清空侧边栏历史面板中的所有历史记录。</p>
|
|
<p><strong>复制</strong></p>
|
|
<p>将当前选中的物体复制为一个新物体。</p>
|
|
<p><strong>删除</strong></p>
|
|
<p>删除当前选中的物体。</p>
|
|
<h2 id="二维(开发中)">二维(开发中)</h2>
|
|
<p>为场景提供二维控件。例如:按钮、标签、面板、水平线、条形图、时间、竖直线、日期、时间圆盘、键值标签、表单、仪表、柱状图、折线图、侧边栏、散点图、饼状图、弦图、力导向图、树状图、集群图、包图、分区图等。</p>
|
|
<p><img src="../images/2d-menu.png" alt="image"></p>
|
|
<h2 id="几何体">几何体</h2>
|
|
<p><img src="../images/geometry-menu.png" alt="image"></p>
|
|
<p><strong>组</strong></p>
|
|
<p>添加一个容器,可以在场景层次图将其他物体拖动到该容器上。</p>
|
|
<p><strong>平面</strong></p>
|
|
<p>添加一个平面。</p>
|
|
<p><strong>正方体</strong></p>
|
|
<p>添加一个正方体。</p>
|
|
<p><strong>圆</strong></p>
|
|
<p>添加一个圆。</p>
|
|
<p><strong>圆柱体</strong></p>
|
|
<p>添加一个圆柱体。</p>
|
|
<p><strong>球体</strong></p>
|
|
<p>添加一个球体。</p>
|
|
<p><strong>二十面体</strong></p>
|
|
<p>添加一个二十面体。</p>
|
|
<p><strong>轮胎</strong></p>
|
|
<p>添加一个轮胎。</p>
|
|
<p><strong>纽结</strong></p>
|
|
<p>添加一个纽结。</p>
|
|
<p><strong>茶壶</strong></p>
|
|
<p>添加一个茶壶。</p>
|
|
<p><strong>酒杯</strong></p>
|
|
<p>添加一个酒杯。</p>
|
|
<p><strong>精灵</strong></p>
|
|
<p>添加一个精灵,该面总是朝向照相机。</p>
|
|
<p><strong>文本</strong></p>
|
|
<p>在场景中添加文本,支持中文。</p>
|
|
<p><strong>线段</strong></p>
|
|
<p>添加一条线段。</p>
|
|
<p><strong>CatmullRom曲线</strong></p>
|
|
<p>添加一条CatmullRom曲线。</p>
|
|
<p><strong>二次贝塞尔曲线</strong></p>
|
|
<p>添加一条二次贝塞尔曲线。</p>
|
|
<p><strong>三次贝塞尔曲线</strong></p>
|
|
<p>添加一条三次贝塞尔曲线。</p>
|
|
<p><strong>椭圆曲线</strong></p>
|
|
<p>添加一条椭圆曲线。</p>
|
|
<h2 id="光源">光源</h2>
|
|
<p><img src="../images/light-menu.png" alt="image"></p>
|
|
<p><strong>环境光</strong></p>
|
|
<p>添加环境光。</p>
|
|
<p><strong>平行光</strong></p>
|
|
<p>添加平行光。</p>
|
|
<p><strong>点光源</strong></p>
|
|
<p>添加点光源。</p>
|
|
<p><strong>聚光灯</strong></p>
|
|
<p>添加聚光灯。</p>
|
|
<p><strong>半球光</strong></p>
|
|
<p>添加半球光。</p>
|
|
<p><strong>矩形光</strong></p>
|
|
<p>添加矩形光。</p>
|
|
<h2 id="资源">资源</h2>
|
|
<p><img src="../images/assets-menu.png" alt="image"></p>
|
|
<p><strong>导出几何体</strong></p>
|
|
<p>导出几何体json文件。</p>
|
|
<p><strong>导出物体</strong></p>
|
|
<p>导出物体json文件。</p>
|
|
<p><strong>导出Collada文件</strong></p>
|
|
<p>导出Collada格式的模型文件。</p>
|
|
<p><strong>导出DRACO文件</strong></p>
|
|
<p>导出DRACO格式的模型文件。</p>
|
|
<p><strong>导出gltf文件</strong></p>
|
|
<p>导出gltf格式的模型文件。</p>
|
|
<p><strong>导出obj文件</strong></p>
|
|
<p>导出obj格式的模型文件。</p>
|
|
<p><strong>导出ply文件</strong></p>
|
|
<p>导出ply格式的模型文件。</p>
|
|
<p><strong>导出stl二进制文件</strong></p>
|
|
<p>导出stl格式二进制模型文件。</p>
|
|
<p><strong>导出stl文件</strong></p>
|
|
<p>导出stl格式的文本模型文件。</p>
|
|
<h2 id="组件">组件</h2>
|
|
<p><img src="../images/component-menu.png" alt="image"></p>
|
|
<p><strong>背景音乐</strong></p>
|
|
<p>添加一个背景音乐组件。</p>
|
|
<p><strong>粒子发射器</strong></p>
|
|
<p>添加一个粒子发射器组件。</p>
|
|
<p><strong>天空</strong></p>
|
|
<p>添加一个天空组件。</p>
|
|
<p><strong>火焰</strong></p>
|
|
<p>添加一个火焰组件。</p>
|
|
<p><strong>水</strong></p>
|
|
<p>添加一个水组件。</p>
|
|
<p><strong>烟</strong></p>
|
|
<p>添加一个烟组件。</p>
|
|
<p><strong>布</strong></p>
|
|
<p>添加一个布组件</p>
|
|
<p><strong>柏林地形</strong></p>
|
|
<p>添加一个柏林地形组件。</p>
|
|
<h2 id="播放">播放</h2>
|
|
<p>启动播放器,播放所有音频和动画,执行所有脚本。</p>
|
|
<p><img src="../images/play-menu.png" alt="image"></p>
|
|
<p><strong>播放</strong></p>
|
|
<p>在场景编辑区播放。</p>
|
|
<p><strong>全屏播放</strong></p>
|
|
<p>全屏幕播放。</p>
|
|
<p><strong>新窗口播放</strong></p>
|
|
<p>在新窗口播放。</p>
|
|
<h2 id="工具">工具</h2>
|
|
<p><img src="../images/tools-menu.png" alt="image"></p>
|
|
<p><strong>纹理生成器(演示)</strong></p>
|
|
<p>使用算法生成纹理。</p>
|
|
<p><strong>整理贴图</strong></p>
|
|
<p>整理所有贴图资源。</p>
|
|
<p><strong>整理模型</strong></p>
|
|
<p>整理所有模型资源。</p>
|
|
<p><strong>整理缩略图</strong></p>
|
|
<p>整理所有缩略图资源。</p>
|
|
<p><strong>清理场景</strong></p>
|
|
<p>清理已删除的场景和所有场景历史文件。</p>
|
|
<h2 id="选项">选项</h2>
|
|
<p><img src="../images/options-menu.png" alt="image"></p>
|
|
<p><strong>渲染器</strong></p>
|
|
<p>设置渲染器属性。</p>
|
|
<p><strong>帮助器</strong></p>
|
|
<p>设置帮助器属性。</p>
|
|
<p><strong>滤镜</strong></p>
|
|
<p>设置场景滤镜效果。</p>
|
|
<p><strong>语言</strong></p>
|
|
<p>选择不同的语言。</p>
|
|
<p><strong>调试模型</strong></p>
|
|
<p>调试模式开启,会出现未实现和测试中功能。</p>
|
|
<h2 id="帮助">帮助</h2>
|
|
<p><img src="../images/help-menu.png" alt="image"></p>
|
|
<p><strong>渲染器属性</strong></p>
|
|
<p>查看渲染器相关信息。</p>
|
|
<p><strong>源码</strong></p>
|
|
<p>查看该项目源码。</p>
|
|
<p><strong>示例</strong></p>
|
|
<p>查看该项目示例。</p>
|
|
<p><strong>文档</strong></p>
|
|
<p>查看该项目文档。</p>
|
|
<p><strong>关于</strong></p>
|
|
<p>查看该项目开发人员信息。</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="UI.html" class="navigation navigation-prev " aria-label="Previous page: 用户界面">
|
|
<i class="fa fa-angle-left"></i>
|
|
</a>
|
|
|
|
|
|
<a href="AssetsPanel.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.1","depth":2,"next":{"title":"资源管理器","level":"1.2.2","depth":2,"path":"ui/AssetsPanel.md","ref":"ui/AssetsPanel.md","articles":[]},"previous":{"title":"用户界面","level":"1.2","depth":1,"path":"ui/UI.md","ref":"ui/UI.md","articles":[{"title":"菜单栏","level":"1.2.1","depth":2,"path":"ui/MenuBar.md","ref":"ui/MenuBar.md","articles":[]},{"title":"资源管理器","level":"1.2.2","depth":2,"path":"ui/AssetsPanel.md","ref":"ui/AssetsPanel.md","articles":[]},{"title":"工具栏","level":"1.2.3","depth":2,"path":"ui/Toolbar.md","ref":"ui/Toolbar.md","articles":[]},{"title":"场景编辑区","level":"1.2.4","depth":2,"path":"ui/Scene.md","ref":"ui/Scene.md","articles":[]},{"title":"动画编辑区","level":"1.2.5","depth":2,"path":"ui/AnimationEditor.md","ref":"ui/AnimationEditor.md","articles":[]},{"title":"侧边栏","level":"1.2.6","depth":2,"path":"ui/SideBar.md","ref":"ui/SideBar.md","articles":[{"title":"场景面板","level":"1.2.6.1","depth":3,"path":"ui/sidebar/Hierarchy.md","ref":"ui/sidebar/Hierarchy.md","articles":[]},{"title":"历史面板","level":"1.2.6.2","depth":3,"path":"ui/sidebar/History.md","ref":"ui/sidebar/History.md","articles":[]},{"title":"属性面板","level":"1.2.6.3","depth":3,"path":"ui/sidebar/Property.md","ref":"ui/sidebar/Property.md","articles":[]},{"title":"脚本面板","level":"1.2.6.4","depth":3,"path":"ui/sidebar/Script.md","ref":"ui/sidebar/Script.md","articles":[]},{"title":"动画面板","level":"1.2.6.5","depth":3,"path":"ui/sidebar/Animation.md","ref":"ui/sidebar/Animation.md","articles":[]}]},{"title":"状态栏","level":"1.2.7","depth":2,"path":"ui/StatusBar.md","ref":"ui/StatusBar.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/MenuBar.md","mtime":"2019-09-15T00:52:39.546Z","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>
|
|
|