文件名称:AnimSpriteExample
介绍说明--下载内容均来自于网络,请自行研究使用
网页三维开发,建立控制器并连接摄像机
cameraController = new CameraController(stage)
cameraController.camera = camera
// Set default control keys——设置默认控制键
cameraController.setDefaultBindings()
// Turn on camera collision detection——打开摄像机碰撞检测
cameraController.checkCollisions = true
// Set collision detection radius for camera——设置摄像机碰撞检测弧度
cameraController.collisionRadius = 20
// Aim camera at the cube primitive——把摄像机定位到原始立方体上
cameraController.lookAt(box.coords)
-private function onEnterfr a me(e:Event):void {
// User input processing
cameraController.processInput()
// Scene calculating. Scene will be recalculated and all changes will be redrawed in camera.
cameraController = new CameraController(stage)
cameraController.camera = camera
// Set default control keys——设置默认控制键
cameraController.setDefaultBindings()
// Turn on camera collision detection——打开摄像机碰撞检测
cameraController.checkCollisions = true
// Set collision detection radius for camera——设置摄像机碰撞检测弧度
cameraController.collisionRadius = 20
// Aim camera at the cube primitive——把摄像机定位到原始立方体上
cameraController.lookAt(box.coords)
-private function onEnterfr a me(e:Event):void {
// User input processing
cameraController.processInput()
// Scene calculating. Scene will be recalculated and all changes will be redrawed in camera.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
.settings\org.eclipse.core.resources.prefs
html-template\history\history.css
.............\.......\history.js
.............\.......\historyFrame.html
.............\index.template.html
.............\playerProductInstall.swf
.............\swfobject.js
src\AnimSpriteExample.as
...\explosion.png
.actionScriptProperties
.project
html-template\history\history.css
.............\.......\history.js
.............\.......\historyFrame.html
.............\index.template.html
.............\playerProductInstall.swf
.............\swfobject.js
src\AnimSpriteExample.as
...\explosion.png
.actionScriptProperties
.project