大约有 778 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
Laya_社区(405) Laya2.0_文档(169) Laya_示例(108) Laya2.0_示例(67) Laya3.0_文档(16) Laya3.0_api(11) Laya2.0_api(2)
...出错 调用动画结束on方法,报错this.zombieAnimator.on is not a function 问题状态 最新活动: 2016-12-18 14:59 浏览: 1441 关注: 3 人 Monica • 2016-12-18 15:20 手机系统用的是10.0版本以上的...你更新下看看呢?
来源: Laya_社区 发布时间: 20161218
...ew Laya.Image("res/layabox.png")); Laya.timer.frameLoop(1, this, functionname); function functionname() { camera.viewport.project(warehouse1.transform.position, camera.projectionViewMatrix, _outPos); 2dname.pos(_outPos.x / Laya.stage.clientScaleX, _outPos.y / Laya.stage.clientScaleY); } bi...
来源: Laya_社区 发布时间: 20180102
...(); tex.load("res/img/108879.png",Laya.Handler.create(this,function(): void{ tex.getPixels(0,0,1,1); })); 附件 : --> 2019-06-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20190625
...ieClip = new MovieClip(); Laya.stage.addChild(mc); mc.on("complete", this, function (evt:Event){ trace("swf complete"); }); mc.load("../../res/swf/mapFlash.swf"); 为何加了这段代码,整个H5就如“死机”,点浏览器的刷新都不管用? 也不抱错? 2017-01-18 添加评论 免...
来源: Laya_社区 发布时间: 20170118
...dScriptError Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided. at TextureCube.__proto._createWebGlTextu...
来源: Laya_社区 发布时间: 20180307
...oad("res/threeDimen/skyBox/skyBox1/SkyBox.lmat", Laya.Handler.create(null, function(mat) { var skyRenderer:SkyRenderer = camera.skyRenderer; skyRenderer.mesh = Laya.SkyBox.instance; skyRenderer.material = mat; })); ``` 效果如下(图3): (图3) **使用Unity的全景天空...
来源: Laya2.0_文档 发布时间: 20210715
...oad("res/threeDimen/skyBox/skyBox1/skyBox.lmat", Laya.Handler.create(this, function(mat) { //设置相机的清除标识为天空盒 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //获取相机的天空渲染器 var skyRenderer = camera.skyRenderer; //创建天空盒的mesh skyRenderer.mesh = La...
来源: Laya2.0_文档 发布时间: 20210715
...oad("res/threeDimen/skyBox/skyBox1/skyBox.lmat", Laya.Handler.create(this, function(mat) { //设置相机的清除标识为天空盒 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //获取相机的天空渲染器 var skyRenderer = camera.skyRenderer; //创建天空盒的mesh skyRenderer.mesh = La...
来源: Laya2.0_文档 发布时间: 20210715
...("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Handler.create(null, function(sp:Sprite3D):void { //将模型加到场景上 var layaMonkey:Sprite3D = scene.addChild(sp) as Sprite3D; })) ``` 编译运行上述代码,运行效果如图6。开发者们同时也可以测试,在单摄像机下...
来源: Laya2.0_文档 发布时间: 20210715
...er.load(...).load(...); LoaderManager off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦...
来源: Laya2.0_api 发布时间: 20190513