mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-18 15:02:09 +00:00
589 lines
25 KiB
HTML
589 lines
25 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="Toolbar.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="Toolbar.html">
|
|
|
|
<a href="Toolbar.html">
|
|
|
|
|
|
<b>1.2.2.</b>
|
|
|
|
工具栏
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.3" data-path="Scene.html">
|
|
|
|
<a href="Scene.html">
|
|
|
|
|
|
<b>1.2.3.</b>
|
|
|
|
场景编辑区
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.4" data-path="Hierachy.html">
|
|
|
|
<a href="Hierachy.html">
|
|
|
|
|
|
<b>1.2.4.</b>
|
|
|
|
场景层次图
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.5" data-path="ScriptPanel.html">
|
|
|
|
<a href="ScriptPanel.html">
|
|
|
|
|
|
<b>1.2.5.</b>
|
|
|
|
脚本面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.6" data-path="PropertyPanel.html">
|
|
|
|
<a href="PropertyPanel.html">
|
|
|
|
|
|
<b>1.2.6.</b>
|
|
|
|
属性面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.7" data-path="SettingPanel.html">
|
|
|
|
<a href="SettingPanel.html">
|
|
|
|
|
|
<b>1.2.7.</b>
|
|
|
|
设置面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.8" data-path="HistoryPanel.html">
|
|
|
|
<a href="HistoryPanel.html">
|
|
|
|
|
|
<b>1.2.8.</b>
|
|
|
|
历史记录面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.9" data-path="TimelinePanel.html">
|
|
|
|
<a href="TimelinePanel.html">
|
|
|
|
|
|
<b>1.2.9.</b>
|
|
|
|
时间轴面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.10" data-path="LogPanel.html">
|
|
|
|
<a href="LogPanel.html">
|
|
|
|
|
|
<b>1.2.10.</b>
|
|
|
|
日志面板
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2.11" data-path="StatusBar.html">
|
|
|
|
<a href="StatusBar.html">
|
|
|
|
|
|
<b>1.2.11.</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="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><img src="image/Plane.png" alt="image"></p>
|
|
<p><strong>正方体</strong></p>
|
|
<p>添加一个正方体。</p>
|
|
<p><img src="image/Box.png" alt="image"></p>
|
|
<p><strong>圆</strong></p>
|
|
<p>添加一个圆。</p>
|
|
<p><img src="image/Circle.png" alt="image"></p>
|
|
<p><strong>圆柱体</strong></p>
|
|
<p>添加一个圆柱体。</p>
|
|
<p><img src="image/Cylinder.png" alt="image"></p>
|
|
<p><strong>球体</strong></p>
|
|
<p>添加一个球体。</p>
|
|
<p><img src="image/Sphere.png" alt="image"></p>
|
|
<p><strong>二十面体</strong></p>
|
|
<p>添加一个二十面体。</p>
|
|
<p><img src="image/Icosahedron.png" alt="image"></p>
|
|
<p><strong>轮胎</strong></p>
|
|
<p>添加一个轮胎。</p>
|
|
<p><img src="image/Torus.png" alt="image"></p>
|
|
<p><strong>纽结</strong></p>
|
|
<p>添加一个纽结。</p>
|
|
<p><img src="image/TorusKnot.png" alt="image"></p>
|
|
<p><strong>茶壶</strong></p>
|
|
<p>添加一个茶壶。</p>
|
|
<p><img src="image/Teapot.png" alt="image"></p>
|
|
<p><strong>酒杯</strong></p>
|
|
<p>添加一个酒杯。</p>
|
|
<p><img src="image/Lathe.png" alt="image"></p>
|
|
<p><strong>精灵</strong></p>
|
|
<p>添加一个精灵,该物体总是朝向照相机。</p>
|
|
<p><img src="image/Sprit.png" alt="image"></p>
|
|
<p><strong>文本</strong></p>
|
|
<p>在场景中添加文本,支持中文。</p>
|
|
<p><img src="image/Text.png" alt="image"></p>
|
|
<h2 id="光源">光源</h2>
|
|
<p><strong>环境光</strong></p>
|
|
<p>添加环境光。</p>
|
|
<p><strong>平行光</strong></p>
|
|
<p>添加平行光。</p>
|
|
<p><img src="image/DirectionalLight.png" alt="image"></p>
|
|
<p><strong>点光源</strong></p>
|
|
<p>添加点光源。该光源自带一个表示发光体的小球,默认开启光晕。</p>
|
|
<p><img src="image/PointLight.png" alt="image"></p>
|
|
<p><strong>聚光灯</strong></p>
|
|
<p>添加聚光灯。</p>
|
|
<p><img src="image/SpotLight.png" alt="image"></p>
|
|
<p><strong>半球光</strong></p>
|
|
<p>添加半球光。该光源自带一个表示天空和地面的包围盒。</p>
|
|
<p><img src="image/HemisphereLight.png" alt="image"></p>
|
|
<p><strong>矩形光</strong></p>
|
|
<p>添加矩形光。该光源自带一个矩形物体表示发光体。</p>
|
|
<p><img src="image/RectAreaLight.png" alt="image"></p>
|
|
<h2 id="资源">资源</h2>
|
|
<p><strong>模型管理</strong></p>
|
|
<p>打开模型列表窗口,点击添加模型。支持编辑、删除。可以修改模型名称和上传缩略图。</p>
|
|
<p><img src="image/modelWindow.png" alt="image"></p>
|
|
<p><strong>纹理管理</strong></p>
|
|
<p>打开纹理列表窗口,可以在材质组件中选择纹理。支持编辑、删除。可以修改纹理名称和上传缩略图。</p>
|
|
<p><img src="image/textureWindow.png" alt="image"></p>
|
|
<p><strong>音频管理</strong></p>
|
|
<p>打开音频列表窗口,可以在背景音乐组件中选择音频。支持编辑、删除。可以修改音频名称。</p>
|
|
<p><img src="image/audioWindow.png" alt="image"></p>
|
|
<p><strong>MMD资源管理</strong></p>
|
|
<p>打开MMD资源窗口,可以上传MMD模型、动画。点击模型可以添加MMD模型,可以在MMD控件中修改模型动画。支持编辑、删除,可以修改MMD资源名称和上传缩略图。</p>
|
|
<p><img src="image/mmdWindow.png" alt="image"></p>
|
|
<p><strong>导出几何体</strong></p>
|
|
<p>导出json文件。</p>
|
|
<p><strong>导出物体</strong></p>
|
|
<p>导出json文件。</p>
|
|
<p><strong>导出场景</strong></p>
|
|
<p>导出json文件。</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><strong>创建地形</strong></p>
|
|
<p>创建一个地形。</p>
|
|
<p><img src="image/Terrain.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><img src="image/ParticleEmitter.png" alt="image"></p>
|
|
<p><strong>天空</strong></p>
|
|
<p>添加一个天空组件,可在属性面板修改属性。</p>
|
|
<p><img src="image/Sky.png" alt="image"></p>
|
|
<p><strong>火焰</strong></p>
|
|
<p>添加一个火焰组件,可在属性面板修改属性。</p>
|
|
<p><img src="image/Fire.png" alt="image"></p>
|
|
<p><strong>烟</strong></p>
|
|
<p>添加一个烟组件,可在属性面板修改属性。</p>
|
|
<p><img src="image/Smoke.png" alt="image"></p>
|
|
<h2 id="启动">启动</h2>
|
|
<p>启动播放器。会播放背景音乐,执行场景中的脚本和动画。</p>
|
|
<h2 id="选项">选项</h2>
|
|
<p><strong>外观</strong></p>
|
|
<p>修改主题。</p>
|
|
<p><img src="image/OutlookOptions.png" alt="image"></p>
|
|
<p><strong>场景(待删除)</strong></p>
|
|
<p>修改场景设置。请点击场景层次图中的场景,在属性面板设置。</p>
|
|
<p><img src="image/SceneOptions.png" alt="image"></p>
|
|
<p><strong>渲染器(待删除)</strong></p>
|
|
<p>修改渲染器设置。</p>
|
|
<p><img src="image/RendererOptions.png" alt="image"></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>
|
|
|
|
|
|
</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="Toolbar.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/Toolbar.md","ref":"ui/Toolbar.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/Toolbar.md","ref":"ui/Toolbar.md","articles":[]},{"title":"场景编辑区","level":"1.2.3","depth":2,"path":"ui/Scene.md","ref":"ui/Scene.md","articles":[]},{"title":"场景层次图","level":"1.2.4","depth":2,"path":"ui/Hierachy.md","ref":"ui/Hierachy.md","articles":[]},{"title":"脚本面板","level":"1.2.5","depth":2,"path":"ui/ScriptPanel.md","ref":"ui/ScriptPanel.md","articles":[]},{"title":"属性面板","level":"1.2.6","depth":2,"path":"ui/PropertyPanel.md","ref":"ui/PropertyPanel.md","articles":[]},{"title":"设置面板","level":"1.2.7","depth":2,"path":"ui/SettingPanel.md","ref":"ui/SettingPanel.md","articles":[]},{"title":"历史记录面板","level":"1.2.8","depth":2,"path":"ui/HistoryPanel.md","ref":"ui/HistoryPanel.md","articles":[]},{"title":"时间轴面板","level":"1.2.9","depth":2,"path":"ui/TimelinePanel.md","ref":"ui/TimelinePanel.md","articles":[]},{"title":"日志面板","level":"1.2.10","depth":2,"path":"ui/LogPanel.md","ref":"ui/LogPanel.md","articles":[]},{"title":"状态栏","level":"1.2.11","depth":2,"path":"ui/StatusBar.md","ref":"ui/StatusBar.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-16T14:09:15.516Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-19T12:28:37.449Z"},"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>
|
|
|