大约有 400 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
...官方帮助, 使用getChildByName()无法得到子节点对象 怎么获取对象的坐标 请教下微信小游戏的内存和数据缓存? 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能co...
来源: Laya_社区 发布时间: 20161124
... 通过代码设置触发器的方式: /* ……省略若干代码 */ //获取物理刚体组件 this.rigidbody1 = this.cube1.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; this.rigidbody2 = this.cube2.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //设置rigidbody1为触发器,取消...
来源: 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
... 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
...一个全局离线画布,不会加到DOM上,主要用来测量字体、获取image数据。 主画布 同样在初始化中还创建了渲染器Render,它是一个管理渲染的单例。 2.渲染结构 Rander 来看Rander的构造函数发现,游戏渲染的主循环是通过window.reque...
来源: Laya_社区 发布时间: 20200925
...131*****019 相关问题 模型资源释放问题 分享:LayaAir下如何获取图集下的小图资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? new Laya.Sprite();绘制图形以后,怎么删除释放资源? 资源管理器中的图片个别显示不打...
来源: Laya_社区 发布时间: 20201203
...指定 id 的第一个对象的引用。 Browser now():Number[static] 获取浏览器当前时间戳,单位为毫秒。 Browser removeElement(ele:*):void[static] 移除指定的浏览器原生节点对象。 BrowserProperty Detailcanvaspropertypublic static var canvas:HTMLCanvas 全局画布...
来源: laya_api 发布时间: 20170929
...er.ts:80 全局离线画布(非主画布)。主要用来测量字体、获取image数据。 Static context context: CanvasRenderingContext2D Defined in laya/utils/Browser.ts:82 全局离线画布上绘图的环境(非主画布)。 Static onAlipayMiniGame onAlipayMiniGame: boolean Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Te...
来源: Laya3.0_api 发布时间: 20231115
... 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