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

大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0073 秒)

461. IDE内置调试工具无法启动 [ 78%]

...imeExecutable": "${execPath}",             "useBuildInServer": true,             "sourceMaps": true,             "webRoot": "${workspaceRoot}",             "port": 9222,             "fixedPort":false         },         {  ...

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

462. 多点触控的使用(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 78%]

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

463. 多点触控的使用(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 78%]

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

464. list的render复用问题 [ 78%]

...gSelect); } 第五个render也会有选中框,以前是list.cacheContent=true可以解决,现在如果设置list.cacheContent=true会出现拖动问题 2017-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

465. UI-Clip [ 78%]

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

466. 2.0里面的组件(Laya.Script)的prop其中几个类型应该怎么设置 [ 78%]

..."; /** @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

467. LayaAir2.13.0 时间轴按钮缩放动画 点击范围问题 [ 78%]

...个属性说明里写的请清楚,false的时候是按设置宽高,为true是按设置显示区为点击区。所以你直接设置一下mouseThrough为true值就好了。就算是false,你设置属性宽高也是可以的,之所以之有4分之一有事件,是因为你动画也做错了...

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

468. 鼠标交互-修正交互区域 [ 78%]

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

469. typeScript Java互调问题 [ 78%]

..._get_view();         this.setContentView(gameView);         isLoad=true;                  webView  =  new WebView(this);         activity = this;         WebSettings webSettings = webView.getSettings();           webSettings.setJavaScriptCanOpenWindowsAutomatically(tr...

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

470. Config3D_API3.0 [ 78%]

...,单位为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