大约有 126 项符合查询结果, 库内数据总量为 30,570 项。 (搜索耗时: 0.0032 秒)
...加入摄像机移动控制脚本 camera.addComponent(CameraMoveScript); //加载相机天空盒材质 Laya.BaseMaterial.load("res/threeDimen/skyBox/skyBox1/SkyBox.lmat", Laya.Handler.create(null, function(mat) { var skyRenderer = camera.skyRenderer; skyRenderer.mesh = Laya.SkyBox.instance; skyRende...
来源: Laya2.0_文档 发布时间: 20210715
.../....上面为原本示例代码,去掉了示例代码的旋转摄像机 //加载拖尾 Laya.Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Laya.Handler.create(this,function(sp){ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机...
来源: Laya2.0_文档 发布时间: 20210715
.../....上面为原本示例代码,去掉了示例代码的旋转摄像机 //加载拖尾 Laya.Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Laya.Handler.create(this,function(sp){ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机...
来源: Laya2.0_文档 发布时间: 20210715
...console.log("ShowMsg"); this.showMsgFunc && this.showMsgFunc(); } } ``` 在加载好场景之后,我们将我们创建的这个脚本添加给cube。 ```typescript //加载场景 Laya.Scene3D.load("res/threeDimen/scene/LayaScene_AnimationEvent/Conventional/layaScene.ls", Laya.Handler.create(this, ...
来源: Laya2.0_文档 发布时间: 20210715
...console.log("ShowMsg"); this.showMsgFunc && this.showMsgFunc(); } } ``` 在加载好场景之后,我们将我们创建的这个脚本添加给cube。 ```typescript //加载场景 Laya.Scene3D.load("res/threeDimen/scene/LayaScene_AnimationEvent/Conventional/layaScene.ls", Laya.Handler.create(this, ...
来源: Laya2.0_文档 发布时间: 20210715
.../....上面为原本示例代码,去掉了示例代码的旋转摄像机 //加载拖尾 Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Handler.create(this,function(sp:Sprite3D):void{ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影...
来源: Laya2.0_文档 发布时间: 20210715
...howMsg():void { trace("ShowMsg"); showMsgFunc && showMsgFunc(); } } ``` 在加载好场景之后,我们将我们创建的这个脚本添加给cube。 ```typescript //加载场景 Scene3D.load("res/threeDimen/scene/LayaScene_AnimationEvent/Conventional/layaScene.ls", Handler.create(this, function(s...
来源: Laya2.0_文档 发布时间: 20210715
...横屏,而且还被拉伸了 请问laya有没有地图编辑器工具? 加载到舞台的3D模型不显示贴图 如何通过命令行工具构建和发布项目 关于龙骨动画转换 laya2 发布微信开放域工程,用微信开发者工具打开报错 一个3D正方体模型,想给它...
来源: Laya_社区 发布时间: 20170514
...。如图4所示。 ![图4](img/4.png) (图4) ### 3、DragonBones动画的加载显示 #### 3.1 将转换后的DragonBones动画资源复制到项目对应的目录。 我们将龙骨转换工具生成的同名`.sk`与`.png`后缀的文件复制到项目的目录中,如图5所示。(*龙骨工...
来源: Laya2.0_文档 发布时间: 20210715
...。如图4所示。 ![图4](img/4.png) (图4) ### 3、DragonBones动画的加载显示 #### 3.1 将转换后的DragonBones动画资源复制到项目对应的目录。 我们将龙骨转换工具生成的同名`.sk`与`.png`后缀的文件复制到项目的目录中,如图5所示。(*龙骨工...
来源: Laya2.0_文档 发布时间: 20210715