大约有 13 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0022 秒)
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/geolocation/GeolocationInfo" GeolocationInfo Class GeolocationInfo Hierarchy GeolocationInfo Index Accessors accuracy altitude altitudeAccuracy heading latitude longitude speed timestamp Methods setPosition Accessors a...
来源: Laya3.0_api 发布时间: 20231115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/geolocation/Geolocation" Geolocation Class Geolocation 使用前可用supported查看浏览器支持。 Hierarchy Geolocation Index Constructors constructor Properties PERMISSION_DENIED POSITION_UNAVAILABLE TIMEOUT ena...
来源: Laya3.0_api 发布时间: 20231115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/motion/RotationInfo" RotationInfo Class RotationInfo 保存旋转信息的类。请勿修改本类的属性。 author Survivor Hierarchy RotationInfo Index Constructors constructor Properties absolute alpha beta compas...
来源: Laya3.0_api 发布时间: 20231115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/motion/AccelerationInfo" AccelerationInfo Class AccelerationInfo 加速度x/y/z的单位均为m/s²。 在硬件(陀螺仪)不支持的情况下,alpha、beta和gamma值为null。 author Survivor Hierarchy Acceler...
来源: Laya3.0_api 发布时间: 20231115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/media/Media" Media Class Media Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者。getCamera前可以使用supported()检查当前浏览器是否支持。 NOTE: 目前Media在...
来源: Laya3.0_api 发布时间: 20231115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/Shake" Shake Class Shake Shake只能在支持此操作的设备上有效。 Hierarchy EventDispatcher Shake Index Constructors constructor Accessors instance Methods event hasListener off offAll offAllCaller on once st...
来源: Laya3.0_api 发布时间: 20231115
LAYA_API #laya_nav { display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media...
来源: Laya3.0_api 发布时间: 20230115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/motion/Accelerator" Accelerator Class Accelerator Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表示用户给予设...
来源: Laya3.0_api 发布时间: 20231115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/motion/Gyroscope" Gyroscope Class Gyroscope 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boo...
来源: Laya3.0_api 发布时间: 20231115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/media/HtmlVideo" HtmlVideo Class HtmlVideo html多媒体数据 Hierarchy Bitmap HtmlVideo Index Constructors constructor Properties destoryedImmediately lock name url uuid video DEBUG Accessors cpuMemory destroyed gpuM...
来源: Laya3.0_api 发布时间: 20231102