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

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

371. laya.resource.nativecontext..context2d.CONTEXT2D_FUNCTION_ID_API3.0 [ 82%]

...0; right: 0; z-index: 1000; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px au...

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

372. laya.resource.RenderTextureCube_API3.0 [ 82%]

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

373. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 82%]

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

374. 创建[HTMLDivElement]时遇到错误(手动实例一次本组件可定位错误) [ 82%]

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

375. 用LayaAir引擎解析Tiled Map地图(JavaScript-2D进阶篇(JS)-扩展模块) [ 82%]

... 创建地图示例 ```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

376. 区块地图-滚动地图 [ 82%]

...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_示例 发布时间: 20240930

377. HTMLDivElement img 标签问题 [ 81%]

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

378. list item 添加事件后无法监听 [ 81%]

...求大神解答     // 初始化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

379. label如何保证右对齐? [ 81%]

...bel设置一个固定的宽高 2、如果label.text的内容超出了label.width,那么默认超出部分会从右侧继续延伸显示 3、如果label.text的内容小于等于label.width,你会发现label.text是居右对齐的 也就是说,label的对齐方式是在label.text不超过label....

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

380. Button连续点击触发MOUSE_OUT事件问题 [ 81%]

...况?   日志如下:========================================= 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