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

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

71. 求好心人帮忙 [ 75%]

...或者能告诉我怎么用代码求鼠标的位置或是精灵的left/right等 2018-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: Lancer 鼠标监听里面 的 默认参数 e  ...

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

72. 文本-下划线 [ 75%]

... null, 100, 10); createText('center', 2, "#00BFFF", 155, 150); createText('right', 3, "#FF7F50", 210, 290); } function createText(align, underlineWidth, underlineColor, x, y) { var txt = new Text(); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商\n面向AS/JS/TS开发...

来源: Laya_示例 发布时间: 20240930

73. 修改left和bottom属性,scale缩放动画就无法从中心开始缩放 [ 75%]

...horX=0.5,anchorY=0.5后,应该是从中心点开始缩放。 但是设置right属性后,就不对了,缩放中心就向左偏移了。 2018-05-26 0 1 分享 微博 QZONE 微信 Zane 赞同来自: 设置left/bottom/right/top属性后, anchorX  anchorY就不起作用。缩放中心失效。 201...

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

74. 关于适配noborder模式(个人适配分享及建议) [ 75%]

...我反正是木有找到~~~ 例如 norborder模式下面 子集有left top right bottom的时候是相对于屏幕  首先noborder的概念是 然画面全部显示出来 并且上下左右等比例裁切的 其实我觉得引擎内部肯定知道上下左右裁切了多少 所以就应该能计算...

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

75. 文本-下划线 [ 75%]

...100, 10); this.createText('center', "#00BFFF", 155, 150); this.createText('right', "#FF7F50", 210, 290); } createText(align, underlineColor, x, y) { const Text = Laya.Text; let txt = new Text(); Laya.stage.addChild(txt); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商...

来源: Laya2.0_示例 发布时间: 20240930

76. laya.display.cmd.FillBorderTextCmd [ 75%]

... textAlign : String 文本对齐方式,可选值:"left","center","right"。 FillBorderTextCmd  x : Number 开始绘制文本的 x 坐标位置(相对于画布)。 FillBorderTextCmd  y : Number 开始绘制文本的 y 坐标位置(相对于画布)。 FillBorderTextCmdPublic Metho...

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

77. Dialog 组件不支持 通过边距的拉伸适配? [ 75%]

...的拉伸适配? view 可以通过边距的拉伸适配 设置top left right bottom 为0 就可以自动大小 Dialog 是不支持的? 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞...

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

78. laya.display.cmd.FillTextCmd [ 74%]

... textAlign : String 文本对齐方式,可选值:"left","center","right"。 FillTextCmd  x : Number 开始绘制文本的 x 坐标位置(相对于画布)。 FillTextCmd  y : Number 开始绘制文本的 y 坐标位置(相对于画布)。 FillTextCmdPublic Methods  MethodDefined...

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

79. laya.d3.math.Matrix4x4 [ 74%]

...tatic] 计算观察矩阵 Matrix4x4  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[...

来源: laya_api 发布时间: 20170929

80. laya.ui.LayoutStyle [ 74%]

...ber = NaN表示距左边的距离(以像素为单位)。LayoutStyle  right : Number = NaN表示距右边的距离(以像素为单位)。LayoutStyle  top : Number = NaN表示距顶边的距离(以像素为单位)。LayoutStylePublic Constants ConstantDefined By  EMPTY : LayoutStyle...

来源: laya_api 发布时间: 20170929