• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 699 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)

191. 求解clip的切片得到的单个width为0 [ 71%]

...ame()无法得到子节点对象 求解:2D项目中加载View,Laya.Scene.load应该如何使用? LayaAir IDE 1.7.15 beta 九宫格在ie11下有缝隙,希望得到关注和解决! 请教:粒子的官方教程中的配置文件是从哪里得到了? list单个中的单条的button怎...

来源: Laya_社区 发布时间: 20170804

192. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 71%]

...比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();          //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/LayaScene_terrain/Conventional/terrain.ls",Laya.Ha...

来源: Laya_社区 发布时间: 20190426

193. ls文件导入错误 [ 71%]

...一个文件,然后layabox中加载场景。 Laya.loader.create(this.strScene, Laya.Handler.create(this, this.onLoadScene)); private onLoadScene() { var scene: Laya.Scene = Laya.Scene.load(this.strScene); if (scene == null) { return; } this.mScene = scene;   大致的流程如上   错误堆栈...

来源: Laya_社区 发布时间: 20180418

194. TypeError: Cannot read property 'View' of undefined [ 70%]

...面相应的TS文件 Laya2.1.0 JS调用Java PlatformClass undefined LayaScene和View什么区别? 运行报错 Uncaught Can not find scene:GameView.scene undefined 求解:2D项目中加载View,Laya.Scene.load应该如何使用? Cannot read property 'displayObject' of null laya,dialog弹...

来源: Laya_社区 发布时间: 20170226

195. 有些模型load之后,MeshSprite3D 的共享材质个数为0,无法对材质进行操作 [ 70%]

...材质进行操作 _disObj3d = Sprite3D.load("../../res/models/cike.lh"); _scene3d.addChild(_disObj3d); _disObj3d.once(Event.HIERARCHY_LOADED, null, function(sender:Sprite3D):void {       var ms:MeshSprite3D = _disObj3d.getChildByName("mod_CiKeZhuangBei_Body_03") as MeshSprite3D;       if(ms...

来源: Laya_社区 发布时间: 20170101

196. 在Unity中设置动画事件(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 70%]

...随便取的名。 ```typescript import laya.d3.component.Script3D; class SceneScript extends Script3D { //用于表现的方法 public var showMsgFunc:Function; public function SceneScript() { } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 public function ...

来源: Laya2.0_文档 发布时间: 20210715

197. Uncaught unknown animationClip version. [ 70%]

...复下 2019-05-01 1 0 分享 微博 QZONE 微信 Zong 赞同来自: Laya.Scene3D.load("LayaScene_scene1/Conventional/scene1.ls", Laya.Handler.create(this, function (s: Laya.Scene3D): void { var scene = s; Laya.stage.addChild(scene);         }));   加载代码 2019-03-13 0 0 分享 微博 Q...

来源: Laya_社区 发布时间: 20190313

198. 导入3D模型有问题 [ 70%]

...样的。   主要代码: //添加照相机         var camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000)));         camera.transform.translate(new Laya.Vector3(0, 3, 3));         camera.transform.rotate(new Laya.Vector3(0, 0, 0), true, false);         camera.clearColor = nul...

来源: Laya_社区 发布时间: 20170718

199. Texture2D的GPU纹理压缩的使用(TypeScript-3D基础(TS)-LayaAir3D之纹理) [ 70%]

...typescript if (Laya.Browser.onAndroid) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/Android/"; else if (Laya.Browser.onIOS) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/IOS/"; else Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGP...

来源: Laya2.0_文档 发布时间: 20210714

200. Texture2D的GPU纹理压缩的使用(JavaScript-3D基础(JS)-LayaAir3D之纹理) [ 70%]

...javascript if (Laya.Browser.onAndroid) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/Android/"; else if (Laya.Browser.onIOS) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/IOS/"; else Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGP...

来源: Laya2.0_文档 发布时间: 20210715