大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(1924) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(49)
...后用layaAir加载解析: var loader:Loader = new Loader(); loader.on(Event.COMPLETE, this, loadEnd); loader.load("atlas/byarr.byte",Loader.BUFFER); private function loadEnd(data:*):void { if (data is ArrayBuffer) { var byts:Byte = new Byte(data); byts.pos = 0; var fr:int = byts.getByte(); var a:...
来源: Laya_社区 发布时间: 20170308
...:10) at ResInfo.onLoaded (http://127.0.0.1:51205/game/code.js:12995:61) at EventHandler.__proto.runWith (http://127.0.0.1:51205/game/code.js:711:59) at ResInfo.__proto.event (http://127.0.0.1:51205/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:51205/game/code.js:13152:11) ...
来源: Laya_社区 发布时间: 20180307
...,请参考 https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent -----英文版 https://developer.mozilla.org/zh_CN/docs/Web/API/DeviceMotionEvent -----中文版 2017-04-20 1 0 分享 微博 QZONE 微信 asdf131 赞同来自: 实现了吗? ts , 1.7.2beta 2017-04-20 0 0 分...
来源: Laya_社区 发布时间: 20170420
...((0 + no) * 99.5, 73); flower.mouseEnabled=true; flower.alpha=1; flower.on(Event.CLICK,this,function() { flower.scaleX=1.1; flower.scaleY=1.1; Laya.timer.once(100, this,function() { flower.scaleX=1; flower.scaleY=1; alert("My Name is Bear" + no); return; }) }); mallLayer._childs[0].addChild(flower);...
来源: Laya_社区 发布时间: 20170110
...ild addChildAt addChildren addComponent addComponentInstance addItem bubbleEvent callLater clearTimer contains customRender delItem destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildInd...
来源: Laya3.0_api 发布时间: 20231115
...何获取当前所有动画名称呢?或者所有的AnimationClip呢? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 如何获取一个3D模型的长宽高? 怎么获取对象的坐标 如何获取图片每个像素点的RGB? 怎样获取浏览器地址传过来的GET参数 ...
来源: Laya_社区 发布时间: 20170829
...lose_1.ani"); lose1.x=150; lose1.y=400; lose1.size(100,300); lose1.on(Laya.Event.CLICK,this.listP,this.play1); lose1.name="lose1"; this.listP.addChild(lose1); play1():void { console.log("111"); this.lose1.play(); //this._childs[5].play(); } 2017-10-25 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20171025
... 相对于这个元素的坐标 龙骨skeleton鼠标点击区域的设置 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 鼠标滚轮滚动事件 Laya 鼠标Cursor怪异问题,有demo Sprite鼠标事件不响应 如何实现鼠标左键点中按钮,然后按钮随鼠标拖动 ...
来源: Laya_社区 发布时间: 20171204
...替用户实现按下F11(全屏)的功能,请问laya有如unity [keybd_event] 一样的东西嘛。或者我如何实现这种功能? 2020-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来...
来源: Laya_社区 发布时间: 20201019
...ort laya.d3.shader.ShaderCompile3D; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; public class BlinnPhong_DiffuseMap { private var rotation:Vector3 = new Vector3(0, 0.01, 0); public function BlinnPhong_DiffuseMap() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stag...
来源: Laya_示例 发布时间: 20260303