大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0068 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...:int = 0; i < leng; i++) { heroInfo = heros[i]; if (_heroItemList[i] == null) { item = new HeroResolveItem(this.onSelectedHeroChange); _heroItemList[i] = item; } _heroItemList[i].init(heroInfo); panelHeroInfo.addChild(_heroItemList[i]); _heroItemList[i].x = i%3*190; _heroItemList[i].y = parseInt(...
来源: Laya_社区 发布时间: 20170321
...100/h5/layawe ... 6756: TypeError: Cannot read property 'createTexture' of null var glTexture=this._source=gl.createTexture(); ^ TypeError: Cannot read property 'createTexture' of null at Texture2D.__proto._createWebGlTexture (http://192.167.0.100/h5/layawe ... 756:32) at Texture2D.__proto.recreateR...
来源: Laya_社区 发布时间: 20180417
...ayaSample, args: undefined} >>bomb: MovieClips {frames: 0, callback: null, _isRemove: false, _group: null, _start: 384…} Texture {offsetX: 0, offsetY: 0, sourceWidth: 232, sourceHeight: 176, _w: 232…} ==================test================ >>getMovieClipAtlas: res/swf/bomb.swf true F...
来源: Laya_社区 发布时间: 20170523
...的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.ti...
来源: Laya3.0_api 发布时间: 20231115
...malDialog; constructor() { super(); this.btn_signin.on(Laya.Event.CLICK, null, () => { this.showDialog("登录成功") }); this.btn_register.on(Laya.Event.CLICK, null, () => { this.showDialog("注册功能暂未开放") }); } showDialog(context: string) { // if (this.normalDialog) { // t...
来源: Laya_社区 发布时间: 20181216
...e(new Laya.Vector3(0, 0, 0), true, false); camera.clearColor = null; //添加自定义模型 var mesh = scene.addChild(new Laya.Sprite3D.load("res/dg/dg.lh")); mesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { setMeshParams(sprite, Laya....
来源: Laya_社区 发布时间: 20170718
... { Laya.timer.clear(this, loop); video.pause(); video.destroy(true); video=null; }小提示:video.pause,1.7.4beta版本h还需要手动暂停,1.7.4beta以后的版本将会将pause加到destory下,开发者只需要调destroy即可,无需再手动暂停video 2017-05-09 0 5 分享 微博 QZ...
来源: Laya_社区 发布时间: 20170509
...e); } 返回的信息: Event _stoped: false currentTarget: Stage {focus: null, designWidth: 1307, designHeight: 758, canvasRotation: false, canvasDegree: 0, …} nativeEvent: MouseEvent {isTrusted: true, screenX: 906, screenY: 460, clientX: 457, clientY: 278, …} target: Stage {focus: null, desig...
来源: Laya_社区 发布时间: 20181022
...nNode = trainItem; 后续有一个事件 option.on(Laya.Event.MOUSE_DOWN, null, function(e){ option.startDrag({}, false, 1) }) option.on(Laya.Event.MOUSE_MOVE, null, function(){ questionNode.answers.visible = true; //这个不生效 }); 2017-09-22 0 0 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20170921
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115