大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0103 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...var redBox:Sprite = new Sprite(); redBox.pos(250,200); redBox.autoSize = true; redBox.graphics.drawRect(0,0,100,100,'#ff0000'); Laya.stage.addChild(redBox); redBox.on("click",this,function(){ trace("click redbox"); }); redBox.on("mouseover",this,function(){ redBox.graphics.clear(); redBox.graphics.d...
来源: Laya_社区 发布时间: 20170710
...e-web-app-capable' content='yes'/> <meta name='full-screen' content='true'/> <meta name='screen-orientation' content='portrait'/> <meta name='x5-fullscreen' content='true'/> <meta name='360-fullscreen' content='true'/> <meta http-equiv='expires' content='0'/> </he...
来源: Laya_社区 发布时间: 20170302
...s:310 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...
来源: Laya3.0_api 发布时间: 20231115
...t": MouseManager._isTouchRespond=true; _this._isLeftMouse=true; var touches=evt.changedTouches; for (var j=0,n=touches.length;j <...
来源: Laya_社区 发布时间: 20170614
...容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: destroy(true) 才会销毁子模型,然后clearres 是引用计数清理 2018-11-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 百神 相关问题 2.0一不小心...
来源: Laya_社区 发布时间: 20181119
...es enabled Methods hasKeyDown Properties Static enabled enabled: boolean = true Defined in laya/events/KeyBoardManager.ts:14 是否开启键盘事件,默认为true Methods Static hasKeyDown hasKeyDown(key: number): boolean Defined in laya/events/KeyBoardManager.ts:53 返回指定键是否被按下...
来源: Laya3.0_api 发布时间: 20231102
...e5; arr[5] =ape6; arr[6] =ape7; //设置progress Handler的第4个参数为true,根据加载文件个数获取加载进度 Laya.loader.load(arr,null,Laya.Handler.create(this,onProLoaded),null,true,true); } function showProgress() { progressBar=new Laya.Sprite(); progressBar.loadImage("comp/BG1.jpg...
来源: Laya_社区 发布时间: 20170701
...ck[3]){ Notice.I.show("确认密码输入有误!"); return false; } return true; } /** * 输入框事件 * @param input TextInput * @param lable Label * @param e Event */ private _onInputEvent(input: Laya.TextInput, lable: Laya.Label, e: string) { switch (e) { case Laya.Event.FOCUS: // input.color =...
来源: Laya_社区 发布时间: 20200410
...:ArrayBuffer, w:int, h:int, magfilter:int, minfilter:int, mipmap:Boolean = true):DataTexture2D[static] DataTexture2D getPixels():Uint8Array 返回图片像素。 DataTexture2D load(url:String, w:int = 0, h:int = 0, magfilter:int, minfilter:int):DataTexture2D[static] 加载Texture2D。 DataText...
来源: laya_api 发布时间: 20170929
...scrollbar也没用. List无法滑动,加了scrollbar,touchScrollEnable = true 依然是无法滑动. 还有设置selecteEnable = true后,随便选择一个cell,所有的cell都会被隐藏掉. demo如下. 附件 : --> demo.zip 2019-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20190828