大约有 1,754 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0080 秒)
Laya_社区(1137) Laya3.0_api(223) Laya2.0_文档(89) Laya2.0_api(72) Laya2.0_示例(66) Laya_示例(63) laya_api(62) Laya3.0_文档(42)
...ipmapLevel mipmap mipmapCount multiSamples obsolute referenceCount samples width wrapModeU wrapModeV wrapModeW bindCanvasRender cpuMemory currentActive gpuMemory Methods _addReference _clearReference _end _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuComp...
来源: Laya3.0_api 发布时间: 20231115
...ipmapLevel mipmap mipmapCount multiSamples obsolute referenceCount samples width wrapModeU wrapModeV wrapModeW bindCanvasRender cpuMemory currentActive gpuMemory Methods _addReference _clearReference _createRenderTarget _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getData...
来源: Laya3.0_api 发布时间: 20231115
....x = this.contentT.x; this.contentDiv.y = this.contentT.y; this.contentDiv.width = this.contentT.width; this.contentDiv.height = this.contentT.height; this.contentDiv.style.width = this.contentT.width; this.contentDiv.style.height = this.contentT.height; this.contentDiv.style.fontSize = this.content...
来源: Laya_社区 发布时间: 20191028
... 创建地图示例 ```javascript //初始化舞台 Laya.init(Laya.Browser.width,Laya.Browser.height,Laya.WebGL); //创建TiledMap实例 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect = new Laya.Rectangle(0,0,Laya.Browser.width,Laya.Browser.height); //创建Tile...
来源: Laya2.0_文档 发布时间: 20210715
...tion() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.scaleMode = Stage.SCALE_FULL; Stat.show(); createMap(); Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); })(); //创建地图 func...
来源: Laya_示例 发布时间: 20251209
...img 标签问题 做聊天图文混排 <img src='image/chat/face15.png' width='30px' height='30px'></img> 原图为81*81,第一次发,显示是81*81,第2次发就是30*30 图片非要预加载一次吗 附件 : --> 2017-03-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20170329
...求大神解答 // 初始化ListView function createListView(x, y, width, height, item_width, item_height) { var list = new Laya.List(); list.itemRender = initItem(item_width, item_height); list.repeatX = 1; list.size(width, height); list.x = x; ...
来源: Laya_社区 发布时间: 20180724
...况? 日志如下:========================================= button width: 155, height: 155 mouse position, x: 374, y: 835 event type: click button width: 155, height: 155 mouse position, x: 374, y: 835 event type: mouseout button width: 155, height: 155 mouse position, x: 374, y: 835 event ty...
来源: Laya_社区 发布时间: 20180724
...bel设置一个固定的宽高 2、如果label.text的内容超出了label.width,那么默认超出部分会从右侧继续延伸显示 3、如果label.text的内容小于等于label.width,你会发现label.text是居右对齐的 也就是说,label的对齐方式是在label.text不超过label....
来源: Laya_社区 发布时间: 20170410
....height) * 0.5 + _bar._y; } else { label.y = _bar._y - 20; label.x = (_bar.width - label.width) * 0.5 + _bar._x; } } }在Slider类里面显示改变标签使用的是label.textField.changeText,导致label不会重新计算尺寸,后面的坐标计算使用的label.width不能反映label的真实...
来源: Laya_社区 发布时间: 20190125