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

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

41. UI布局计算bug [ 79%]

...录下是一个box,取名为:m_Parent,设置布局参数为:leftright、top、bottom均为0,目的是初始化后m_Parent的宽高为720*1280。 m_Parent下放置两个box,分别取名m_Child_1跟m_Child_2,其中m_Child_1设置width为720,height为1280,m_Child_2设置布局参...

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

42. 分享个用美术资源做位图文本的方法。。。 [ 79%]

...Data,imageData,600,"center"); var bp2 = new BPFont(jsonData,imageData,600,"right"); bp.padding = bp1.padding = bp2.padding = -7; Laya.stage.addChild(bp); Laya.stage.addChild(bp1); Laya.stage.addChild(bp2); var t = 1000; Laya.timer.loop(1000,that,function(){ bp.text = t + ""; bp1.text = t + ""; bp2.t...

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

43. laya.ui.Component 组件无法重新布局 [ 79%]

...00; // 现在是 父容器 左边100像素显示 //下次位置更新 comp.right = 100; // 无法实现 父容器 右边 100像素显示 2016-12-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 fc01 赞同来自:...

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

44. laya.components.Widget_API3.0 [ 79%]

...ccessors awaked bottom centerX centerY destroyed enabled hideFlags id left right top Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate resetLayout Constructors constructor new Widget(): Widget...

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

45. laya.ui.Widget_API3.0 [ 79%]

...ccessors awaked bottom centerX centerY destroyed enabled hideFlags id left right top Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate resetLayout Constructors constructor new Widget(): Widget...

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

46. laya.events.KeyLocation [ 79%]

...活的。 注意:此属性只在flash模式下有效。 KeyLocation  RIGHT : uint = 2[static] 表示激活的键在右侧键位置(此键有多个可能的位置)。 KeyLocation  STANDARD : uint = 0[static] 表示激活的键不区分位于左侧还是右侧,也不区分是否位于数...

来源: laya_api 发布时间: 20170929

47. laya.events.KeyLocation [ 79%]

...活的。 注意:此属性只在flash模式下有效。 KeyLocation  RIGHT : uint = 2[static] 表示激活的键在右侧键位置(此键有多个可能的位置)。 KeyLocation  STANDARD : uint = 0[static] 表示激活的键不区分位于左侧还是右侧,也不区分是否位于数...

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

48. laya.d3.math.BoundFrustum [ 79%]

...BoundFrustum  near : Plane[read-only] 获取近平面。 BoundFrustum  right : Plane[read-only] 获取右平面。 BoundFrustum  top : Plane[read-only] 获取顶平面。 BoundFrustumPublic Methods  MethodDefined By  BoundFrustum(matrix:Matrix4x4) 创建一个 BoundFrustum 实例。 BoundFr...

来源: laya_api 发布时间: 20170929

49. laya.d3.math.BoundFrustum [ 79%]

...BoundFrustum  near : Plane[read-only] 获取近平面。 BoundFrustum  right : Plane[read-only] 获取右平面。 BoundFrustum  top : Plane[read-only] 获取顶平面。 BoundFrustumPublic Methods  MethodDefined By  BoundFrustum(matrix:Matrix4x4) 创建一个 BoundFrustum 实例。 BoundFr...

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

50. laya.display.cmd.StrokeTextCmd [ 78%]

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

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