大约有 1,258 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0146 秒)
Laya_社区(854) Laya2.0_文档(116) Laya3.0_api(79) Laya2.0_api(73) laya_api(68) Laya3.0_文档(54) Laya2.0_示例(8) Laya_示例(6)
...写? Laya_Aaron • 2018-05-29 16:45 @灬倪先森_:var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); 这个是示例中的,有几种方法,文档中也有,而且有例子。https://ldc.layabox.com/doc/?nav=zh-as-4-0-5,...
来源: Laya_社区 发布时间: 20180529
...new 出的带有 PhysicsCollider 的正方体模型报错 this.box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 1, 1))) as Laya.MeshSprite3D; this.box.addComponent(Laya.PhysicsCollider); this.box.destroy();引擎版本 LayaAirIDE2.0_beta.5 报错: Uncaught TypeError: Cannot read prop...
来源: Laya_社区 发布时间: 20190118
...is3D numChildren parent scene timer url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents ...
来源: Laya3.0_api 发布时间: 20231115
... Laya.Camera = new Laya.Camera(0, 0.1, 1000); //加载到场景 this.scene.addChild(camera); //移动摄像机位置 camera.transform.position = new Laya.Vector3(-3, 1.5, 6); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3(-6, 0, 0), true, false); //设置摄像机视野范围(角...
来源: Laya_社区 发布时间: 20180910
...H5卡死,且不报错? var mc:MovieClip = new MovieClip(); Laya.stage.addChild(mc); mc.on("complete", this, function (evt:Event){ trace("swf complete"); }); mc.load("../../res/swf/mapFlash.swf"); 为何加了这段代码,整个H5就如“死机”,点浏览器的刷新都不管用? 也不...
来源: Laya_社区 发布时间: 20170118
...接 提交 1 个回复 Supermang42 赞同来自: 搜尋代碼 Laya.stage.addChild( xxx ); 並把這段代碼註解掉,即可關閉這個 Dialog 視窗。 2017-09-01 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gonna 相关问题 l...
来源: Laya_社区 发布时间: 20170901
...(33,33); image.skin = "https://platform-lookaside.fbs ... 3B%3B Laya.stage.addChild(image); 用edge无法访问该图片 用edge浏览器单独打开此图片可以打开 用firefox,chrome都可以访问到图片 这是火狐看到的 附件 : --> 2018-11-16 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20181116
...ail2UI; constructor(){ super(); this.display = new ui.mail.mail2UI(); this.addChild(this.display); } public destroy():void { this.display.destroy(); this.display.removeSelf(); super.destroy(); } }就是这段简单的测试代码,怎么销毁,内存还是创建后的大小 2017-02-21 添加评...
来源: Laya_社区 发布时间: 20170221
...ni():void { var role:SimpleRole = new SimpleRole(); Laya.stage.addChild(role); } SimpleRole类: public function SimpleRole() { roleAni = new Animation(); roleAni.loadAnimation("GameAni.ani"); } Not found: GameAni.ani# 求帮忙看下原因 2017-06-19 添...
来源: Laya_社区 发布时间: 20170619
...race( Laya.loader.getRes(url) ); } private function hh():void { Laya.stage.addChild(new Image("MORNUI_Z_Gongneng/clip_xue_quan.png")); Laya.timer.once(1000,1,ddd); } private function ddd():void { trace("aaa1",Laya.loader.getRes(url)); Laya.stage.removeChildren(); Laya.loader.clearRes(url); trace("aa...
来源: Laya_社区 发布时间: 20171206