大约有 952 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
... //初始化引擎 Laya.init(0,0); var Hls:any = Laya.Browser.window.Hls;//获取对Hls的引用。 var plyr:any = Laya.Browser.window.plyr;//获取对plyr的引用 //获取video对象,就是页面上命名为“player”的标签 var video:any = Laya.Browser.document.querySelector('#player'); if(...
来源: Laya3.0_文档 发布时间: 20251010
...代码逻辑中调用实现。 4.1 角色位置 position 角色位置用于获取和设置角色控制器的位置,通常应用于获取角色当前位置,或者设置角色位置初始化(例如出生点与传送点)等需求。 代码设置示例如下: const { regClass, property } = Lay...
来源: 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
... wx.loadSubpackage() 返回的一个 LoadSubpackageTask,可以通过它获取当前下载进度。 参考微信小游戏官方文档。 打印的参数的意义分别是: progress:下载进度; totalBytesWritten:已经下载的数据长度; totalBytesExpectedToWrite:预期需要下载...
来源: Laya3.0_文档 发布时间: 20251010
...编程或配置,便可直接通过自然语言与AI模型进行对话,获取技术知识(例如新手对语言与语法的困惑)、灵感或创作辅助。 国际主流产品包括:ChatGPT、Gemini、Perplexity AI 、Claude.ai等; 国内主流产品包括:豆包、腾讯元宝、腾...
来源: Laya3.0_文档 发布时间: 20251103
...排行榜 为什么laya.pathfinding.js里面的Grid,通过Laya.Grid竟然获取不到?有laya.pathfinding.js的使用教程吗?API中没有找到。 layabox写好的程序可以打包成windows安装包吗? Runtime照着视频做运行不了,求解 laya Native播放视频 Layabox 可不可...
来源: Laya_社区 发布时间: 20190227
... 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
...也可以通过代码来设置,上述示例演示了如何通过计时器获取每一秒更新clip.clipX切片,通过每秒更新数字实现计时器的功能,有兴趣的读者可以自己通过代码设置Clip,创建出符合自己项目中需要的Clip。 注:需要将图片资源的...
来源: 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 发布时间: 20231102
... 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