大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0073 秒)
Laya_社区(2610) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya_示例(83) Laya3.0_文档(76) Laya2.0_示例(45)
...imeExecutable": "${execPath}", "useBuildInServer": true, "sourceMaps": true, "webRoot": "${workspaceRoot}", "port": 9222, "fixedPort":false }, { ...
来源: Laya_社区 发布时间: 20180815
...owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.input.getTouch(0); var touch2 = this._scene.input.getTouch(1); //是否...
来源: Laya2.0_文档 发布时间: 20210715
...owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.input.getTouch(0); var touch2 = this._scene.input.getTouch(1); //是否...
来源: Laya2.0_文档 发布时间: 20210715
...gSelect); } 第五个render也会有选中框,以前是list.cacheContent=true可以解决,现在如果设置list.cacheContent=true会出现拖动问题 2017-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...
来源: Laya_社区 发布时间: 20171101
...ipSkin, 10, 1); Laya.stage.addChild(this.counter); this.counter.autoPlay = true; this.counter.interval = 1000; this.counter.x = (Laya.stage.width - this.counter.width) / 2 - 35; this.counter.y = (Laya.stage.height - this.counter.height) / 2 - 40; } showTotalSeconds() { const Clip = Laya.Clip; let cl...
来源: Laya2.0_示例 发布时间: 20241001
..."; /** @prop {name:boolType, tips:"布尔类型示例", type:Bool, default:true}*/ public boolType: boolean = true; /** @prop {name:optionType, tips:"", type:Option, option:"aaa,bbb,true", default:"bbb"}*/ public optionType:string = "bbb"; //EditOption 貌似不能设置默认值 /** @prop {name:edi...
来源: Laya_社区 发布时间: 20181215
...个属性说明里写的请清楚,false的时候是按设置宽高,为true是按设置显示区为点击区。所以你直接设置一下mouseThrough为true值就好了。就算是false,你设置属性宽高也是可以的,之所以之有4分之一有事件,是因为你动画也做错了...
来源: Laya_社区 发布时间: 20220809
...th / 2, Laya.stage.height / 2); Laya.stage.addChild(darkOrchidRect); // 为true时,碰撞区域会被修正为实际显示边界 // mouseThrough命名真是具有强烈的误导性 darkOrchidRect.mouseThrough = true; darkOrchidRect.on(Event.MOUSE_DOWN, this, this.onDown); } createLogger() { const ...
来源: Laya2.0_示例 发布时间: 20241001
..._get_view(); this.setContentView(gameView); isLoad=true; webView = new WebView(this); activity = this; WebSettings webSettings = webView.getSettings(); webSettings.setJavaScriptCanOpenWindowsAutomatically(tr...
来源: Laya_社区 发布时间: 20170517
...,单位为M。 Static enableDynamicBatch enableDynamicBatch: boolean = true Defined in Config3D.ts:11 控制是否动态合并 Static enableMultiLight enableMultiLight: boolean = true Defined in Config3D.ts:39 是否开启多光源,如果场景不需要多光源,关闭后可提升性能。 Stati...
来源: Laya3.0_api 发布时间: 20231115