mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-18 15:02:09 +00:00
644 lines
22 KiB
HTML
644 lines
22 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">
|
|
|
|
|
|
<link rel="next" href="menu/Scene.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>
|
|
|
|
|
|
|
|
<ul class="articles">
|
|
|
|
|
|
<li class="chapter " data-level="1.2.1.1" data-path="menu/Scene.html">
|
|
|
|
<a href="menu/Scene.html">
|
|
|
|
|
|
<b>1.2.1.1.</b>
|
|
|
|
场景
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.1.2" data-path="menu/Edit.html">
|
|
|
|
<a href="menu/Edit.html">
|
|
|
|
|
|
<b>1.2.1.2.</b>
|
|
|
|
编辑
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.1.3" data-path="menu/Geometry.html">
|
|
|
|
<a href="menu/Geometry.html">
|
|
|
|
|
|
<b>1.2.1.3.</b>
|
|
|
|
几何体
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.1.4" data-path="menu/Light.html">
|
|
|
|
<a href="menu/Light.html">
|
|
|
|
|
|
<b>1.2.1.4.</b>
|
|
|
|
光源
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.1.5" data-path="menu/Asset.html">
|
|
|
|
<a href="menu/Asset.html">
|
|
|
|
|
|
<b>1.2.1.5.</b>
|
|
|
|
资源
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.1.6" data-path="menu/Terrain.html">
|
|
|
|
<a href="menu/Terrain.html">
|
|
|
|
|
|
<b>1.2.1.6.</b>
|
|
|
|
地形
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.1.7" data-path="menu/Component.html">
|
|
|
|
<a href="menu/Component.html">
|
|
|
|
|
|
<b>1.2.1.7.</b>
|
|
|
|
组件
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.1.8" data-path="menu/Play.html">
|
|
|
|
<a href="menu/Play.html">
|
|
|
|
|
|
<b>1.2.1.8.</b>
|
|
|
|
启动
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.1.9" data-path="menu/Option.html">
|
|
|
|
<a href="menu/Option.html">
|
|
|
|
|
|
<b>1.2.1.9.</b>
|
|
|
|
选项
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.1.10" data-path="menu/Help.html">
|
|
|
|
<a href="menu/Help.html">
|
|
|
|
|
|
<b>1.2.1.10.</b>
|
|
|
|
帮助
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.2" data-path="Scene.html">
|
|
|
|
<a href="Scene.html">
|
|
|
|
|
|
<b>1.2.2.</b>
|
|
|
|
场景编辑区
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.3" data-path="StatusBar.html">
|
|
|
|
<a href="StatusBar.html">
|
|
|
|
|
|
<b>1.2.3.</b>
|
|
|
|
状态栏
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.4" >
|
|
|
|
<span>
|
|
|
|
|
|
<b>1.2.4.</b>
|
|
|
|
侧边栏
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<ul class="articles">
|
|
|
|
|
|
<li class="chapter " data-level="1.2.4.1" data-path="sidebar/Hierachy.html">
|
|
|
|
<a href="sidebar/Hierachy.html">
|
|
|
|
|
|
<b>1.2.4.1.</b>
|
|
|
|
场景层次
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.4.2" data-path="sidebar/Project.html">
|
|
|
|
<a href="sidebar/Project.html">
|
|
|
|
|
|
<b>1.2.4.2.</b>
|
|
|
|
工程选项
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.4.3" data-path="sidebar/Setting.html">
|
|
|
|
<a href="sidebar/Setting.html">
|
|
|
|
|
|
<b>1.2.4.3.</b>
|
|
|
|
编辑器设置
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.4.4" data-path="sidebar/Object.html">
|
|
|
|
<a href="sidebar/Object.html">
|
|
|
|
|
|
<b>1.2.4.4.</b>
|
|
|
|
物体属性
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.4.5" data-path="sidebar/Geometry.html">
|
|
|
|
<a href="sidebar/Geometry.html">
|
|
|
|
|
|
<b>1.2.4.5.</b>
|
|
|
|
几何属性
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.4.6" data-path="sidebar/Material.html">
|
|
|
|
<a href="sidebar/Material.html">
|
|
|
|
|
|
<b>1.2.4.6.</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>
|
|
<h2 id="场景">场景</h2>
|
|
<p><strong>新建</strong></p>
|
|
<p>新建场景,当前场景会被清空。</p>
|
|
<p><strong>载入</strong></p>
|
|
<p>打开场景窗口,并从服务端加载场景列表,提供编辑、删除场景功能。可以在编辑窗口修改场景名称和缩略图。</p>
|
|
<p><img src="image/SceneWindow.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><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><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>
|
|
<h2 id="光源">光源</h2>
|
|
<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>
|
|
|
|
|
|
</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="menu/Scene.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.1.1","depth":3,"path":"ui/menu/Scene.md","ref":"ui/menu/Scene.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.1.1","depth":3,"path":"ui/menu/Scene.md","ref":"ui/menu/Scene.md","articles":[]},{"title":"编辑","level":"1.2.1.2","depth":3,"path":"ui/menu/Edit.md","ref":"ui/menu/Edit.md","articles":[]},{"title":"几何体","level":"1.2.1.3","depth":3,"path":"ui/menu/Geometry.md","ref":"ui/menu/Geometry.md","articles":[]},{"title":"光源","level":"1.2.1.4","depth":3,"path":"ui/menu/Light.md","ref":"ui/menu/Light.md","articles":[]},{"title":"资源","level":"1.2.1.5","depth":3,"path":"ui/menu/Asset.md","ref":"ui/menu/Asset.md","articles":[]},{"title":"地形","level":"1.2.1.6","depth":3,"path":"ui/menu/Terrain.md","ref":"ui/menu/Terrain.md","articles":[]},{"title":"组件","level":"1.2.1.7","depth":3,"path":"ui/menu/Component.md","ref":"ui/menu/Component.md","articles":[]},{"title":"启动","level":"1.2.1.8","depth":3,"path":"ui/menu/Play.md","ref":"ui/menu/Play.md","articles":[]},{"title":"选项","level":"1.2.1.9","depth":3,"path":"ui/menu/Option.md","ref":"ui/menu/Option.md","articles":[]},{"title":"帮助","level":"1.2.1.10","depth":3,"path":"ui/menu/Help.md","ref":"ui/menu/Help.md","articles":[]}]},{"title":"场景编辑区","level":"1.2.2","depth":2,"path":"ui/Scene.md","ref":"ui/Scene.md","articles":[]},{"title":"状态栏","level":"1.2.3","depth":2,"path":"ui/StatusBar.md","ref":"ui/StatusBar.md","articles":[]},{"title":"侧边栏","level":"1.2.4","depth":2,"ref":"","articles":[{"title":"场景层次","level":"1.2.4.1","depth":3,"path":"ui/sidebar/Hierachy.md","ref":"ui/sidebar/Hierachy.md","articles":[]},{"title":"工程选项","level":"1.2.4.2","depth":3,"path":"ui/sidebar/Project.md","ref":"ui/sidebar/Project.md","articles":[]},{"title":"编辑器设置","level":"1.2.4.3","depth":3,"path":"ui/sidebar/Setting.md","ref":"ui/sidebar/Setting.md","articles":[]},{"title":"物体属性","level":"1.2.4.4","depth":3,"path":"ui/sidebar/Object.md","ref":"ui/sidebar/Object.md","articles":[]},{"title":"几何属性","level":"1.2.4.5","depth":3,"path":"ui/sidebar/Geometry.md","ref":"ui/sidebar/Geometry.md","articles":[]},{"title":"材质属性","level":"1.2.4.6","depth":3,"path":"ui/sidebar/Material.md","ref":"ui/sidebar/Material.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/MenuBar.md","mtime":"2018-10-14T13:23:53.353Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-14T13:24:13.071Z"},"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>
|
|
|