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

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

281. laya.ui.Dialog [ 68%]

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

来源: laya_api 发布时间: 20170929

282. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 68%]

...、独立的 JavaScript 作用域。在这个作用域中,开发者可以获取到玩家的一些隐私数据,并对这些数据进行处理。开放数据域和执行游戏逻辑的主域是相互隔离的,并且只能进行从主域到开放数据域的单向通信。 对于开发者而言...

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

283. laya.ui.Button [ 67%]

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

来源: laya_api 发布时间: 20170929

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

285. laya.display.Text [ 67%]

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

来源: laya_api 发布时间: 20170929

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

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

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

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

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

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

290. 列表组件 · LayaAir3.4 · 引擎文档 · 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