大约有 5 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0024 秒)
...见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 alpha alpha: number Defined in laya/device/motion/RotationInfo.ts:19 Z轴旋...
来源: Laya3.0_api 发布时间: 20231115
...efined in laya/d3/WebXR/core/WebXRSessionManager.ts:76 Stops the xrSession and restores the render loop Returns void hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事...
来源: Laya3.0_api 发布时间: 20231115
...见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 info: RotationInfo类型参数,保存设备的旋转值。 浏览器兼容性参见:http://caniuse.com/#search=deviceorientation Hierarchy EventDispatcher Gyroscope Index Constructors constructo...
来源: Laya3.0_api 发布时间: 20231115
...k类别,指定与其碰撞的类别值之和(值是所有category按位AND的值) label label: string = "RigidBody" Defined in laya/physics/RigidBody.ts:58 [只读]自定义标签 mask mask: number = -1 Defined in laya/physics/RigidBody.ts:56 [只读]指定冲突位掩码碰撞的类别,cate...
来源: Laya3.0_api 发布时间: 20231115
...rs node: Node Returns boolean loadImage loadImage(url: string, complete?: Handler): Sprite Inherited from Text.loadImage Defined in laya/display/Sprite.ts:1578 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(...
来源: Laya3.0_api 发布时间: 20231115