大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
Laya_社区(1924) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(49)
...时候IDE不会自动拷贝到bin目录下吗 layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 请问Laya.loader.load资源缓存在哪里?能不能把这个缓存目录里的资源加入NativeFile白名单? HttpRequest在firefox里面执行正常在ios出...
来源: Laya_社区 发布时间: 20180208
...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author */ public class BlinnPhong_SpecularMap { private var scene:Scene; private var rotation:Vector3 = new Vector3...
来源: Laya_示例 发布时间: 20260303
...popup并且模拟进度条加载 按钮代码: this.testLoadingBar_anim.on(Event.CLICK,this,()=>{ var loading : Onloading = new Onloading(); loading.popup(true); Laya.timer.loop(100, this, loading.changeValue); }); 进度条代码: import Handler = Laya.Handler; export class Onl...
来源: Laya_社区 发布时间: 20180524
...id { let hr = new Laya.HttpRequest(); hr.once(Laya.Event.COMPLETE, this, (e: any): void => { callback(JSON.parse(hr.data)); }); hr.send(url, JSON.stringify(data), 'post', 'text', ['content-type', 'application/json;charset=UTF-8', "ses...
来源: Laya_社区 发布时间: 20190829
...troy() 150*****745 • 2018-06-05 12:06 我用的是Laya.stage.on(Laya.Event.CLICK, this, function (e) {}),请问怎么销毁,销毁以后到下一个页面要重新绑定事件吗? Laya_Aaron • 2018-06-05 14:56 @150*****745:你的代码不给我讲我很难找到你说的这段,stage ...
来源: Laya_社区 发布时间: 20180605
...分的颜色问题 IDE1.7.8 json图集加载问题 ios原生回调问题 event自定义事件的问题 写了个边缘光的自定义shader,有很多问题,帮忙看一下 我这样载入场景问题出现在哪呢?? lh文件内meshSprite添加阴影属性无效 问题状态 最新活动: 20...
来源: Laya_社区 发布时间: 20170919
...guaSpr.addChild(ape); ape.loadImage("WBSign/img_guakaituceng.png"); ape.on(Event.MOUSE_MOVE, this, onMouseMove); interactionArea = new Sprite(); interactionArea.blendMode = "destination-out"; ape.addChild(interactionArea); interactionArea.graphics.clear(); } function onMouseMove(e) { if(mouseX!=0){ ...
来源: Laya_社区 发布时间: 20170615
...获取图片每个像素点的RGB? tree mouseHandler 怎么获取条目 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 问题状态 最新活动: 2017-04-13 10:26 浏览: 2546 关注: 2 人
来源: Laya_社区 发布时间: 20170413
...ndefined TypeError: Cannot read property 'firstInit' of undefined at EventDispatcher.SharedIFrameUIViewerScene._initRenderAfterComplete (file:///Applications/LayaAirIDE_beta.app/Contents/Resources/app/out/vs/layaEditor/h5/layabuilder.max.js:29683:48) at EventHandler.__proto.run (file:///...
来源: Laya_社区 发布时间: 20181130
...击事件 如何设置Sprite的宽高和点击区域? 遮罩点击事件 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2017-12-11 17:15 浏览: 906 关注: 2 人 Laya_Aaron • 2017-12-11 16:54 有相关代码截图,和设置项目具体截图 或者...
来源: Laya_社区 发布时间: 20171211