大约有 623 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
...texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void...
来源: Laya2.0_api 发布时间: 20190513
... 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
...、独立的 JavaScript 作用域。在这个作用域中,开发者可以获取到玩家的一些隐私数据,并对这些数据进行处理。开放数据域和执行游戏逻辑的主域是相互隔离的,并且只能进行从主域到开放数据域的单向通信。 对于开发者而言...
来源: Laya3.0_文档 发布时间: 20251010
... 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
...脚本一次 owner owner: Node Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Defined in laya/components/Component.ts:35...
来源: Laya3.0_api 发布时间: 20231115
...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 分享:打地鼠 AS、JS、TS版本 Demo! 文本如何自动换行 分享:适配LayaAir版本的PureMV...
来源: Laya_社区 发布时间: 20161014
... Inherited from Graphics.getBounds Defined in laya/display/Graphics.ts:201 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Parameters Default value realSize: boolean = false (可选)使用图片的真实大小,默认为false Returns Rectangle 位...
来源: Laya3.0_api 发布时间: 20231115
...utton,this.Image,具有代码提示效果。而自定义的组件脚本获取只能通过代码定义属性,再在IDE中拖入节点获取节点或组件。 因此建议开发者:一般情况下使用自定义脚本的方式。只有当页面内需要管理较多的组件时,使用UI组件...
来源: Laya3.0_文档 发布时间: 20251010
... 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
...,当前像素根据设定条件决定是否输出颜色 Tiling Offset:获取纹理平铺和偏移 Material Render Mode:设置渲染模式 Opaque:默认设置,适用于没有透明区域的普通实体对象。 Cutout:允许创建在不透明和透明区域之间具有硬边的透...
来源: Laya3.0_文档 发布时间: 20251010