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

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

281. laya.ui.Button [ 67%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...

来源: laya_api 发布时间: 20170929

282. laya.display.Text [ 67%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node  align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居...

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

283. laya.display.Text [ 67%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指...

来源: laya_api 发布时间: 20170929

284. laya.d3.core.light.Light_API3.0 [ 67%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

285. ts如何解析ArrayBuffer二进制数据? [ 67%]

...法解析部分属性 Laya解析XML中,XML元素节点的属性值如何获取? 解析sk资源报错 服务端的数据怎么传到laya前端?laya前端又是如何接收后台的数据呢,后台传到laya的数据类型是什么? 小游戏 解析xml 问题 服务器websocket c++发送二...

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

286. laya.components.AnimatorState2D_API3.0 [ 67%]

...imatorStateScript | null Defined in laya/components/AnimatorState2D.ts:231 获取脚本。 Parameters type: typeof AnimatorStateScript 组件类型。 Returns AnimatorStateScript | null 脚本。 getScripts getScripts(type: typeof AnimatorStateScript): AnimatorStateScript[] | null Defined in laya/co...

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

287. laya.d3.core.Transform3D_API3.0 [ 66%]

...Forward(forward: Vector3): void Defined in laya/d3/core/Transform3D.ts:695 获取向前方向。 Parameters forward: Vector3 前方向。 Returns void getFrontFaceValue getFrontFaceValue(): number Defined in laya/d3/core/Transform3D.ts:108 Returns number getRight getRight(right: Vector3): void Defin...

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

288. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

... class MyItem extends Laya.GButton { //注意!在onConstruct里才可以获取子对象,建议在这里做初始化,不要在构造函数里做初始化 onConstruct() { //this.xx = this.getChild("xx"); //this.xx.on(Laya.Event.CLICK, this, this.onClick); } sayHello() { console.log("Hello from M...

来源: Laya3.0_文档 发布时间: 20251128

289. laya.utils.Browser [ 66%]

...[static] 全局离线画布(非主画布)。主要用来测量字体、获取image数据。Browser  clientHeight : Number[static] [read-only] 浏览器窗口可视高度。 通过分析浏览器信息获得。浏览器多个属性值优先级为:window.innerHeight(包含滚动条高度) >...

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

290. 读取json对象 [ 66%]

...克隆对象,统计面板的显存和内存就会显示成负数 怎么获取对象的坐标 使用getChildByName()无法得到子节点对象 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 Laya["MiniAdpter"].nativefiles 在QQ小游戏中无法读取到 3d显...

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