大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0066 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...ad("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); sp.play(); Laya.stage.addChild(sp); sp.x = Laya.stage.width / 2; sp.y = Laya.stage.height / 2; } })();module lay...
来源: Laya_示例 发布时间: 20251219
...:///H:/WeChatQ1Snake/release/layaweb/v1.0.0/map/tile_map.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. laya.core.min.js:6 [warn]Retry to load: H:/WeChatQ1Snake/release/layaweb/v1.0.0/map/tile_map.png index.html:1 Access to I...
来源: Laya_社区 发布时间: 20180412
...示。 "bottom": 居底部对齐显示。 Label viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...
来源: laya_api 发布时间: 20170929
....loader.load(aniConfPath, Laya.Handler.create(this, this.createAnimation), null, Laya.Loader.ATLAS); } createAnimation() { const Animation = Laya.Animation; let ani = new Animation(); Laya.stage.addChild(ani); ani.loadAtlas(aniConfPath); // 加载图集动画 ani.interval = 30; // 设置播放间隔...
来源: Laya2.0_示例 发布时间: 20251219
...oad("res/particles/RadiusMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); sp.play(); Laya.stage.addChild(sp); sp.x = Laya.stage.width / 2; sp.y = Laya.stage.height / 2; } })();module lay...
来源: Laya_示例 发布时间: 20251219
...ad("res/particles/particleNew.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); sp.play(); Laya.stage.addChild(sp); sp.x = Laya.stage.width / 2; sp.y = Laya.stage.height / 2; } })();module lay...
来源: Laya_示例 发布时间: 20251219
...628"; Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); })(); function createAnimation() { var ani = new Animation(); ani.loadAtlas(AniConfPath); // 加载图集动画 ani.interval = 30; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放...
来源: Laya_示例 发布时间: 20251219
...ject空判断问题 为什么其他的方法都加了this._displayObject为null的判断(例如 handleSizeChanged、handleScaleChanged、handleGrayedChanged等等)而 handleXYChanged中却不做null判断,是有什么特殊原因吗? 附件 : --> 2019-10-17 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20191017
...adRenderStateBlendDepth(shaderDatas) { stencilTest == null && (stencilTest = renderState.stencilTest); // 下面这行粗心写错了 stencilWrite == null && (stencilTest = renderState.stencilWrite); } 附件 : --> 2023-03-18 添加评论 免费...
来源: Laya_社区 发布时间: 20230318
...问题 var ViewStack=(function(_super){ function ViewStack(){ this._items=null; this._selectedIndex=0; ViewStack.__super.call(this); this._setIndexHandler=Handler.create(this,this.setIndex,null,false); } __class(ViewStack,'laya.ui.ViewStack',_super); 1. ViewStack.__super.call(this); 2. __class(ViewS...
来源: Laya_社区 发布时间: 20180313