• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0103 秒)

721. 关于graphics镂空的问题https://ask.layabox.com/question/139 [ 73%]

...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

722. 1.7版本要初始化后有些代码才能用了 [ 73%]

...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

723. laya.d3.core.light.DirectionLight_API3.0 [ 73%]

...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

724. 向官方反映1.75引擎库后 事件执行 发生的bug [ 73%]

...t":                         MouseManager._isTouchRespond=true;                         _this._isLeftMouse=true;                         var touches=evt.changedTouches;                         for (var j=0,n=touches.length;j <...

来源: Laya_社区 发布时间: 20170614

725. 加载模型后,无法西方模型暂用的显存? [ 73%]

...容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: destroy(true) 才会销毁子模型,然后clearres 是引用计数清理 2018-11-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 百神 相关问题 2.0一不小心...

来源: Laya_社区 发布时间: 20181119

726. laya.events.KeyBoardManager_API3.0 [ 73%]

...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

727. JS进度条加载问题 [ 73%]

...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

728. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 73%]

...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

729. laya.d3.resource.DataTexture2D [ 73%]

...: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

730. List无法滑动,加了scrollbar也没用. [ 73%]

...scrollbar也没用. List无法滑动,加了scrollbar,touchScrollEnable = true 依然是无法滑动. 还有设置selecteEnable = true后,随便选择一个cell,所有的cell都会被隐藏掉. demo如下.   附件 : --> demo.zip 2019-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

来源: Laya_社区 发布时间: 20190828