大约有 400 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指...
来源: laya_api 发布时间: 20170929
... 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
...法解析部分属性 Laya解析XML中,XML元素节点的属性值如何获取? 解析sk资源报错 服务端的数据怎么传到laya前端?laya前端又是如何接收后台的数据呢,后台传到laya的数据类型是什么? 小游戏 解析xml 问题 服务器websocket c++发送二...
来源: Laya_社区 发布时间: 20181203
...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
...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
... 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
...[static] 全局离线画布(非主画布)。主要用来测量字体、获取image数据。Browser clientHeight : Number[static] [read-only] 浏览器窗口可视高度。 通过分析浏览器信息获得。浏览器多个属性值优先级为:window.innerHeight(包含滚动条高度) >...
来源: Laya2.0_api 发布时间: 20190513
...克隆对象,统计面板的显存和内存就会显示成负数 怎么获取对象的坐标 使用getChildByName()无法得到子节点对象 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 Laya["MiniAdpter"].nativefiles 在QQ小游戏中无法读取到 3d显...
来源: Laya_社区 发布时间: 20170413