大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...", new Rectangle(0, 0, 1120, 860), new Handler(this, this.completeHandler),null,new Point(1120,860)); 最后那个参数new Point(1120,860),其实是地图的分块渲染的大小,默认是450,450,所以把我的地图分成3次渲染了。 注释很奇怪 gridSize:Point (default = null) ...
来源: Laya_社区 发布时间: 20180321
...D出错,laya1.7.16 Uncaught TypeError: Cannot read property 'visible' of null TypeError: Cannot read property 'visible' of null at RenderSprite3D.__proto._childs (http://xxxx/game/bin/h5/Main.m ... 576:30) at Sprite.__proto.render (http://xxxx/game/bin/h5/Main.m ... 575:43) at RenderSprite3D.__pro...
来源: Laya_社区 发布时间: 20180326
... timer.clear(); self.$timer = null; } if (texture) { texture.destroy(true); self.$texture = null; self.$bitmap = null; } ...
来源: Laya_社区 发布时间: 20181114
... debug_txt.y = 20; var tf:TextFormat = new TextFormat(null,12,0xFFFFFF); debug_txt.defaultTextFormat = tf; debug_txt.text = "start..."; stage.addChild(debug_txt); if (ExternalInterface.available) ...
来源: Laya_社区 发布时间: 20200217
...tartPoi,dir);//创建射线 if(SceneManager.Instance.nowScene!=null) { if(SceneManager.Instance.nowScene.physicsSimulation.rayCast(ray,this.enemyHit)) { console.log("enemyHit->",this.enemyHit); ...
来源: Laya_社区 发布时间: 20231120
...type":Laya.loader.ATLAS } ] Laya.loader.load(loadData, Handler.create(null, onload), Handler.create(null, onProgress, null, false)); 熊猫大侠 • 2018-05-25 17:06 @170*****199:肯定资源加载完成 才能跳转战斗啊 170*****199 • 2018-05-25 17:07 对啊,是加载完进的,就...
来源: Laya_社区 发布时间: 20180525
... Laya.stage.addChild(sp3); Laya.timer.frameLoop(2,null,function() { sp3.rotation = sp3.rotation+10; } ); 2019-11-12 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个s...
来源: Laya_社区 发布时间: 20191112
...ty : Number 获取污渍强度。 BloomEffect dirtTexture : Texture2D = null镜头污渍纹路,用于为泛光特效增加污渍灰尘效果BloomEffect fastMode : Boolean = false是否开启快速模式。该模式通过降低质量来提升性能。BloomEffect intensity : Number 获取泛...
来源: Laya2.0_api 发布时间: 20190513
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...####################################### } private openHandler(event: any = null): void { //正确建立连接; console.log("建立连接");//***************************************************************************不写出 console.log(event); } private receiveHandler(msg: any = null): void { //...
来源: Laya_社区 发布时间: 20180211