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

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

1. laya.physics.Physics_API3.0 [ 100%]

...ya/physics/Physics.ts:19 Box2d引擎的全局引用,更多属性和api请参考 http://box2d.org positionIterations positionIterations: number = 3 Defined in laya/physics/Physics.ts:25 位置迭代次数,增大数字会提高精度,但是会降低性能 velocityIterations velocityIterations: n...

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

2. laya.events.InputManager_API3.0 [ 61%]

...返回指定键是否被按下。 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 i...

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

3. laya.media.SoundManager_API3.0 [ 53%]

...包为app,音效只能用wav格式)。 详细教程及声音格式请参考:http://ldc2.layabox.com/doc/?nav=ch-as-1-7-0 Hierarchy SoundManager Index Properties autoReleaseSound musicVolume playbackRate soundVolume Accessors autoStopMusic musicMuted muted soundMuted useAudioMusic Methods addCh...

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

4. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 44%]

...eferenceSpace; Defined in laya/d3/WebXR/core/WebXRSessionManager.ts:62 set 参考空间 Parameters newReferenceSpace: any Returns void XRReferenceSpace; sessionMode get sessionMode(): any Defined in laya/d3/WebXR/core/WebXRSessionManager.ts:69 The mode for the managed XR session Returns any supporte...

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

5. laya.maths.Quaternion_API3.0 [ 44%]

...nion.ts:388 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度时有,会产生瞬间反转 Parameters out: Vector3 欧拉角值 Returns void identity identity(): void Defined in l...

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

6. laya.d3.math.Quaternion_API3.0 [ 43%]

...nion.ts:388 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度时有,会产生瞬间反转 Parameters out: Vector3 欧拉角值 Returns void identity identity(): void Defined in l...

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

7. laya.d3.math.native.ConchQuaternion_API3.0 [ 42%]

...nion.ts:541 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度时有,会产生瞬间反转 Parameters out: ConchVector3 欧拉角值 Returns void identity identity(): void Defined...

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

8. laya.display.BitmapFont_API3.0 [ 41%]

...类,用于定义位图字体信息。 字体制作及使用方法,请参考文章 see http://ldc2.layabox.com/doc/?nav=ch-js-1-2-5 Hierarchy Resource BitmapFont Index Constructors constructor Properties _id autoScaleSize destroyedImmediately dict fontSize letterSpacing lineHeight lock maxWidth n...

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

9. laya.ui.Dialog_API3.0 [ 36%]

...为字符串。 例如:"0,0,100,200"。 see #includeExamplesSummary 请参考示例 Returns string Defined in laya/ui/Dialog.ts:232 用来指定对话框的拖拽区域。默认值为"0,0,0,0"。 格式:构成一个矩形所需的 x,y,width,heith 值,用逗号连接为字符串。 例如:"0,...

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

10. laya.d3.core.material.RenderState_API3.0 [ 32%]

...d3/core/material/RenderState.ts:108 将模具缓冲区值设置为指定的参考值 Static STENCILOP_ZERO STENCILOP_ZERO: number = StencilOperation.Zero Defined in laya/d3/core/material/RenderState.ts:106 将模板缓冲区值设置为0 Static STENCILTEST_ALWAYS STENCILTEST_ALWAYS: number = Compare...

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