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

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

311. [LayaAir3]Area2D使用transformPoint方法返回的位置点偏移 [ 54%]

...像图上这样当Camera2D的可视区域超过镜头的Limit_Left和Limit_Top时,组件onMouseClick中调用Area2D的transformPoint转换舞台坐标,返回Area2D中的坐标点会偏移,四周都会有这个情况,只有在镜头的限制边界内时才是对的,这个是bug么还是哪...

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

312. IOS下微信小游戏屏幕适配的问题,请帮忙看看 [ 54%]

...g="exactfit"; static screenMode:string="horizontal"; static alignV:string="top"; static alignH:string="left"; static startScene:any="desktop.scene"; 附件 : --> IOStest.zip 2023-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

313. laya.d3.math.Matrix4x4 [ 54%]

...rix4x4  createOrthoOffCenterRH(left:Number, right:Number, bottom:Number, top:Number, near:Number, far:Number, out:Matrix4x4):void[static] 计算正交投影矩阵。 Matrix4x4  createPerspective(fov:Number, aspect:Number, near:Number, far:Number, out:Matrix4x4):void[static] 计算透视投影矩...

来源: laya_api 发布时间: 20170929

314. UI控件固定位置在ipad分辨率下有问题 [ 54%]

...*1334 制作一个简单的按钮,让其固定在屏幕右上角 right:0 top:0 运行测试,发现在iphonex系列都不会有问题,只有在ipad才会有问题。   适配模式是: Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.scaleM...

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

315. MiniAdpter.nativefiles 设置后并没有起作用 [ 54%]

...后没有居中 scalefixed适配模式设置后,image的ceterX,centerY,top,bottom,left,right这些都没用 修改项目设置-》图集设置》index.html目录位置后加载资源出错 自定义mesh可以正常显示,移动位置后,mesh无法显示了 list组件改变位置后在改变数...

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

316. iframe嵌入laya做的html5,手机端浏览时iframe处不响应触摸滑动? [ 54%]

.../设置层级 this.iframe.style.left ="100px"; this.iframe.style.top ="100px"; this.iframe.src = "http://ask.layabox.com/"; Laya.Browser.document.body.appendChild(this.iframe);

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

317. 怎么打开第二个工程 [ 54%]

...style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layabox.com/"; Browser.document.body.appendChild(iframe); } } } 2018-02-26 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: https://ask.layabox.com/question/669 https://ldc.layabo...

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

318. laya.display.css.TextStyle_API3.0 [ 54%]

...示使用此文本格式的文本段落的垂直对齐方式。 default "top" Globals "laya/display/css/TextStyle" TextStyle constructor align bold color font fontSize italic leading strikethrough stroke strokeColor underline underlineColor valign Legend Object literal Variable Function Type alias C...

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

319. 怎么才能像HTML5中那样直接操作Canvas [ 54%]

...00" height="400" style="position: absolute; left: 0px; top: 0px; background: rgb(0, 0, 0); transform-origin: 0px 0px 0px; transform: matrix(1, 0, 0, 1, 0, 0);"></canvas> var canvas:any = document.getElementById("layaCanvas"); var ctx = canvas.getContext(&q...

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

320. 请问一下,微信小游戏2D项目在微信开发者工具中打开显示异常 [ 53%]

...scaleMode = "fixedWidth"; Laya.stage.alignH = "left"; Laya.stage.alignV = "top"; //设置横竖屏 Laya.stage.screenMode = "vertical";  在这里面修改我试过了,无论怎么改都没有用,都是这样 2018-08-09 0 0 分享 微博 QZONE 微信 黄晋 赞同来自: 你这个是游戏配置...

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