大约有 692 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0088 秒)
Laya_社区(333) Laya3.0_api(89) Laya2.0_api(69) Laya2.0_文档(65) laya_api(61) Laya3.0_文档(41) Laya2.0_示例(19) Laya_示例(15)
...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
...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component downButton : Button下按钮 ScrollBar elasticBackTime : Number = 500橡皮筋回弹时间,单位为毫秒。ScrollBar elasticDis...
来源: laya_api 发布时间: 20170929
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...
来源: Laya2.0_api 发布时间: 20190513
...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
scaleMode bug SCALE_FIXED_WIDTH,理论上舞台高度应该变化啊,为啥舞台高度还是设计高度。但是内容的y轴按设计高度来,就不行。。 2018-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180316
...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
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite downButton : Button下按钮 ScrollBar drawCallOptimize : BooleanSprite elasticBackTime : Number = 500橡皮筋回弹时间,单位为...
来源: Laya2.0_api 发布时间: 20190513
...() { /** * 背景类 * */ 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
... // 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
...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