📄 control.html
字号:
<html>
<head>
<title>3DEnvironment userguide</title>
<link href="style.css" rel="stylesheet" type="text/css">
<link href="help_pc.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1 class="title">Using the Control tab</h1>
<p> </p>
<p class="normal">You can use the Control tab in Component Inspector panel to set the controls for camera and world movement.</p>
<p class="normal"><br>
1. If you have not already done so, you should complete the <a href="basic.html">Basic Tutorial</a>. Once you have done so, open the file that you created. </p>
<p class="normal"><br>
2. Select your <span class="highlight">3DEnvironment</span> component on the stage and with it still selected press <span class="highlight">Alt+F7</span> to open the Component Inspector panel. Click the <span class="highlight">Control</span> tab.</p>
<p class="normal"><br>
3. Click the comboBox in the top left corner and select which type of movement you wish to enter the controls for. <span class="highlight">Move Camera</span> is used to set the controls for moving the view of the environment. <span class="highlight">Rotate World</span> is used to set the keys for rotating the environment. <span class="highlight">Mouse Event</span> allows you to enter actions for the mouse wheel event. For the purposes of this tutorial select <span class="highlight">Rotate World</span>.</p>
<p><img src="images/screen8.jpg" border="1" class="image" alt="screen shot" /></p>
<p> </p>
<p><br>
4. To assign a key to an action, tick the actions checkbox, then select the action's text field and press the key you wish to assign the action to. The name of the key will then appear in the text field. Repeat this process for all the keys you wish to assign actions to.</p>
<p><img src="images/screen9.jpg" border="1" class="image" alt="screen shot" /></p>
<p class="normal"><i>Note that if you change your mind about adding an action you can uncheck the relevant checkbox to cancel the action.</i></p>
<p class="normal"><br>
5. The default speed for each of the actions is 100 pixels per frame. To adjust the speed change the speed value below the action's key text field.</p>
<p><img src="images/screen10.jpg" border="1" class="image" alt="screen shot" /></p>
<p> </p>
<p><br>
6. Press <span class="highlight">Ctrl+S</span> (Win) or <span class="highlight">Cmnd+S</span> (Mac) to save your file and <span class="highlight">Ctrl+Enter</span> (Win) or <span class="highlight">Cmnd+Enter</span> (Mac) to test your file.</p>
<p> </p>
<p>Press and hold the keys you entered in step 4 to rotate your environment.</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -