文件名称:AnimSpriteExample
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:928.77kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
网页三维开发,建立控制器并连接摄像机
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 onEnterFrame(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 onEnterFrame(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
html-template/history/history.js
html-template/history/historyFrame.html
html-template/index.template.html
html-template/playerProductInstall.swf
html-template/swfobject.js
src/AnimSpriteExample.as
src/explosion.png
.actionScriptProperties
.project
html-template/history/history.css
html-template/history/history.js
html-template/history/historyFrame.html
html-template/index.template.html
html-template/playerProductInstall.swf
html-template/swfobject.js
src/AnimSpriteExample.as
src/explosion.png
.actionScriptProperties
.project
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.