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

大约有 7 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0029 秒)

1. laya.net.HttpRequest_API3.0 [ 100%]

...的 GET 请求的能力。 HttpRequest 只提供以异步的形式返回 Web 服务器的响应,并且能够以文本或者二进制的形式返回内容。 注意:建议每次请求都使用新的 HttpRequest 对象,因为每次调用该对象的send方法时,都会清空之前设置的数...

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

2. laya.device.media.Media_API3.0 [ 96%]

...示同时捕捉两者。详情见https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia。 onSuccess: Handler 获取成功的处理器,唯一参数返回媒体的Blob地址,可以将其传给Video。 onError: Handler 获取失败的处理器,唯一参数是Error。 Returns ...

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

3. laya.device.motion.RotationInfo_API3.0 [ 93%]

...坐标系。 关于坐标系参见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/mo...

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

4. laya.device.motion.Gyroscope_API3.0 [ 74%]

...坐标系。关于坐标系参见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...

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

5. laya.events.InputManager_API3.0 [ 74%]

...structors constructor Properties clickTestThreshold isTextInputting isiOSWKwebView keyEventsEnabled mouseEventsEnabled mouseX mouseY multiTouchEnabled Accessors inst touchCount touchTarget touches Methods getNodeUnderPoint getSprite3DUnderPoint getSpriteUnderPoint handleKeys handleMouse handleTouch ...

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

6. laya.device.media.Video_API3.0 [ 14%]

...播放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_MAYBY SUPPORT_NO...

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

7. laya.media.VideoNode_API3.0 [ 13%]

...播放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 _isHeightSet _isWidt...

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