大约有 8 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0039 秒)
... video:true }表示同时捕捉两者。详情见https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia。 onSuccess: Handler 获取成功的处理器,唯一参数返回媒体的Blob地址,可以将其传给Video。 onError: Handler 获取失败的处理器,唯一参数是E...
来源: Laya3.0_api 发布时间: 20231115
...决定的任意坐标系。 关于坐标系参见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 alpha alpha: number Defined in...
来源: 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 EventDispa...
来源: Laya3.0_api 发布时间: 20231115
...arameters key: string | number 键值。参考:https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values Returns boolean 是否被按下。 Globals "laya/events/InputManager" InputManager constructor clickTestThreshold isTextInputting isiOSWKwebView keyEventsEnabled mous...
来源: Laya3.0_api 发布时间: 20231115
...s:19 Box2d引擎的全局引用,更多属性和api请参考 http://box2d.org positionIterations positionIterations: number = 3 Defined in laya/physics/Physics.ts:25 位置迭代次数,增大数字会提高精度,但是会降低性能 velocityIterations velocityIterations: number = 8 Defined in...
来源: Laya3.0_api 发布时间: 20231115
...建立失败,派发 Event.ERROR 事件。 see https://html.spec.whatwg.org/multipage/comms.html#dom-websocket Static BIG_ENDIAN BIG_ENDIAN: string = "bigEndian" Defined in laya/net/Socket.ts:43 主机字节序,是 CPU 存放数据的两种不同顺序,包括小端字节序和大端字节序。...
来源: Laya3.0_api 发布时间: 20231115
...就自动开始播放Video。 MDN Video链接: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_M...
来源: Laya3.0_api 发布时间: 20231102
...就自动开始播放Video。 MDN Video链接: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHe...
来源: Laya3.0_api 发布时间: 20231115