- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
CreatingaScene创建一个场景
?
Creating a Scene创建一个场景This tutorial will show you how to create a scene from scratch. 本教程将向您展示如何从无到有创建一个场景
Contents1 Introduction 1介绍
2 Adding a Mesh 2 添加一个
3 Preview 3预览
4 Adding Script添加脚本 Introduction The first step in building any new document is to create the scenes that you want to display (in either 2D or 3D). 建立任何新的文件的第一步是创建场景To add a scene, find the Scenes window (by default in the bottom right), and press the Add Scene button. 要添加一个场景,找到场景窗口默认然后按新增场景按钮。In the Add New Scene dialog that appears press Create a new 3D scene. 在添加新场景对话框中Create a new 3D scene。
Adding a Mesh添加一个
Great! Now were going to add something interesting to the scene. 好了!现在我们要添加一些有趣的场景。
In this example, well add a simple chessboard. To do this, find the Meshes window (by default in the bottom right) and click the Add Mesh button. 在这个例子中,我们将加一个简单棋盘要做到这一点,找到Meshes窗口默认情况下在右下角然后点击添加网格按钮。From the Add New Mesh dialog, find and select the chessboard mesh (note by hovering over a mesh you get a quick thumbnail and description). 从添加Add New Mesh的对话框, 找到和选择棋盘网格(注意悬停在网格缩略图和说明Preview预览
We now have an object in a scene - hit F12 to preview this. 我们现在有一个对象场景中F12键预览
You can navigate a preview with W,S,A,D and by right clicking and dragging the mouse.你 可以利用W,S,A,D和 通过右键点击并拖动鼠标操纵预览When youve finished with the preview, close the window or press Escape.
你完成了预览时,关闭窗口或按Esc。The object is great, but it doesnt really do anything yet. To make it more interesting, well add some script to it.物体是伟大的,但它并没有真正做任何事情。为了使它更有趣,我们将它添加一些脚本First, well add a sound to play to the scene. Find the Sounds window (bottom left by default, with a musical note symbol on the tab). 首先,我们将添加一个声音发挥到场景Sounds窗口默认左下角音符符号标签Click the Add Sound button and in the Add New Sound window, select the metalclang.
点击Add Sound按钮,metalclang.
Adding Script添加脚本
OK, now its time to add the script. 很好,现在该添加脚本了。
Select the chessboard with a left click, then right click it and choose Edit Script from the popup menu. 选择棋盘右键单击它并弹出式菜单Edit Script。
In
文档评论(0)