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

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

361. laya.media.VideoTexture_API3.0 [ 71%]

...preload readyState referenceCount seekable seeking source videoHeight videoWidth volume width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Methods _addReference _clearReference _getSource _removeReference _setCPUMemory _setCreateURL _setGPUMemory canPlayType destroy event gpuCompressFormat hasL...

来源: Laya3.0_api 发布时间: 20231115

362. laya.ui.ScrollBar [ 71%]

...d-only] 对象的显示高度(以像素单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素单位)。 Component  downButton : Button下按钮 ScrollBar  elasticBackTime : Number = 500橡皮筋回弹时间,单位毫秒。ScrollBar  elasticDis...

来源: laya_api 发布时间: 20170929

363. laya.ui.UIGroup [ 71%]

...read-only] 对象的显示高度(以像素单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...

来源: Laya2.0_api 发布时间: 20190513

364. 分享:如何用代码创建自定义Tab组件 [ 71%]

...blic class LayaAirDemo { public function LayaAirDemo() { Laya.init(Browser.width,Browser.height); Laya.stage.bgColor="#EEFFCC"; //预加载button的资源,用于tab的项皮肤 Laya.loader.load("button-4.png",Handler.create(this,onLoaded)); } private function onLoaded():void { //添加tab容器 va...

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

365. scaleMode bug [ 71%]

scaleMode bug SCALE_FIXED_WIDTH,理论上舞台高度应该变化啊,啥舞台高度还是设计高度。但是内容的y轴按设计高度来,就不行。。 2018-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

366. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 71%]

...the target object or misses all objects. * When not penetrable, the node's width and height define the mouse collision area (a non-penetrable rectangular area). If the rectangular collision area does not meet the requirements, you can use the drawing area of the hit area as the collision area. The h...

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

367. laya.ui.ScrollBar [ 71%]

...read-only] 对象的显示高度(以像素单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素单位)。 Sprite  downButton : Button下按钮 ScrollBar drawCallOptimize : BooleanSprite  elasticBackTime : Number = 500橡皮筋回弹时间,单位...

来源: Laya2.0_api 发布时间: 20190513

368. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 71%]

...() { /** * 背景类 * */ function Background(){ //图片的宽度 this.BG_WIDTH = 1600; //记录当前移动的值 this.moveX = 0; //定义背景1 this.bg1 = null; //定义背景2 this.bg2 = null; //草堆 this.grass = null; Background.__super.call(this); this.init(); } //Background 是一个显示...

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

369. 设置viewport后显示区域变黑色 [ 71%]

...       //          this.viewport = new Rectangle(0, 0, Laya.stage.width, Laya.stage.height);             this.scrollRect = new Rectangle(0, 0, Laya.stage.width, Laya.stage.height); 2017-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

370. 陀螺仪与加速计(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 70%]

...info.fontSize = 50; this.info.color = "#FFFFFF"; this.info.size(Laya.stage.width, Laya.stage.height);  Laya.stage.addChild(this.info);  Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, onDeviceorientation); function onDeviceorientation(absolute, rotationInfo) { this.info.text = "alpha:" + Math....

来源: Laya2.0_文档 发布时间: 20210714