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

大约有 5 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0041 秒)

1. laya.device.geolocation.Geolocation_API3.0 [ 100%]

...vice/geolocation/Geolocation.ts:36 如果enableHighAccuracy为true,并且设备能够提供一个更精确的位置,则会获取最佳可能的结果。 请注意,这可能会导致较慢的响应时间或增加电量消耗(如使用GPS)。 另一方面,如果设置为false,将会得到...

来源: Laya3.0_api 发布时间: 20231115

2. laya.utils.Browser_API3.0 [ 85%]

...droid: boolean Defined in laya/utils/Browser.ts:22 表示是否在 Android 设备内。 Static onBDMiniGame onBDMiniGame: boolean Defined in laya/utils/Browser.ts:42 百度小游戏 Static onBLMiniGame onBLMiniGame: boolean Defined in laya/utils/Browser.ts:54 BILIBILI小游戏 Static onChrome onChro...

来源: Laya3.0_api 发布时间: 20231115

3. Laya_API3.0 [ 82%]

...是否捕获全局错误并弹出提示。默认为false。 适用于移动设备等不方便调试的时候,设置为true后,如有未知错误,可以弹窗抛出详细错误堆栈。 Parameters value: boolean Returns void Static createRender createRender(): Render Defined in Laya.ts:234 Retu...

来源: Laya3.0_api 发布时间: 20231115

4. laya.d3.webxr.core.AxiGamepad_API3.0 [ 58%]

...dness handness: string Defined in laya/d3/WebXR/core/WebXRGamepad.ts:12 轴设备名字 Static EVENT_OUTPUT EVENT_OUTPUT: string = "outputAxi_id" Defined in laya/d3/WebXR/core/WebXRGamepad.ts:8 Methods destroy destroy(): void Defined in laya/d3/WebXR/core/WebXRGamepad.ts:62 destroy Returns void even...

来源: Laya3.0_api 发布时间: 20231115

5. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 51%]

...ebXRGamepad.ts:104 类用于创建Button对象 Parameters handness: string 设备名称 index: number button缩影 Returns ButtonGamepad Properties handness handness: string Defined in laya/d3/WebXR/core/WebXRGamepad.ts:86 The id of the gamepad index index: number Defined in laya/d3/WebXR/core/WebXR...

来源: Laya3.0_api 发布时间: 20231115