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

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

1. laya.d3.math.RandX_API3.0 [ 100%]

...s RandX Rand 类用于通过128位整型种子创建随机数,算法来自:https://github.com/AndreasMadsen/xorshift。 Hierarchy RandX Index Constructors constructor Properties defaultRand Methods random randomint Constructors constructor new RandX(seed: any[]): RandX Defined in laya/d3/math/RandX....

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

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

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

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

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

...标系),或者设备决定的任意坐标系。 关于坐标系参见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 alpha ...

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

4. laya.d3.webxr.core.WebXRInputManager_API3.0 [ 92%]

...path of the CDN the sample will fetch controller models from: MeshSource https://cdn.jsdelivr.net/npm/@webxr-input-profiles/assets@1.0.9/dist/profiles/ Hierarchy WebXRInputManager Index Constructors constructor Properties tempVec tempVec1 Methods bindMeshNode bindRayNode getController Constructors...

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

5. laya.device.motion.Gyroscope_API3.0 [ 75%]

...坐标系),或者设备决定的任意坐标系。关于坐标系参见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 info: RotationInfo类型参数,保存设备的旋转值。 浏览器兼容性参见:http://caniuse.com/#search=deviceorien...

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

6. laya.events.InputManager_API3.0 [ 75%]

...定键是否被按下。 Parameters 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 isiOSWKweb...

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

7. laya.d3.utils.Utils3D_API3.0 [ 59%]

...n laya/d3/utils/Utils3D.ts:179 判断P点是否在ABC组成的三角形中 https://mathworld.wolfram.com/BarycentricCoordinates.html Parameters A: Vector3 B: Vector3 C: Vector3 P: Vector3 Returns boolean Static _getNodeByHierarchyPath _getNodeByHierarchyPath(rootSprite: Node, invPath: number[]): Nod...

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

8. laya.net.Socket_API3.0 [ 54%]

...才能建立成功,否则建立失败,派发 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

9. 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 ...

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

10. laya.media.VideoNode_API3.0 [ 14%]

...在程序开始运行时就自动开始播放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 drawt...

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