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

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

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

...ya/net/URL.ts:18 扩展的基础路径映射表,比如{"aa/":"http://abc.com/"},则把路径以aa/开头的资源映射到http://abc.com/下 Static rootPath rootPath: string = "" Defined in laya/net/URL.ts:21 root路径。只针对'~'类型的url路径有效 Static version version: Record<strin...

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

2. laya.d3.math.RandX_API3.0 [ 94%]

...用于通过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.ts:18 创建一...

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

3. laya.device.motion.Gyroscope_API3.0 [ 70%]

...,保存设备的旋转值。 浏览器兼容性参见:http://caniuse.com/#search=deviceorientation Hierarchy EventDispatcher Gyroscope Index Constructors constructor Accessors instance Methods event hasListener off offAll offAllCaller on once Constructors constructor new Gyroscope(singleton: num...

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

4. laya.media.SoundManager_API3.0 [ 61%]

...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 addChannel destroySound playMusi...

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

5. laya.d3.utils.Utils3D_API3.0 [ 55%]

...: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[]): Node Defined in laya/d3/utils...

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

6. laya.maths.Quaternion_API3.0 [ 51%]

...(顺序为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 laya/maths/Quaternion.ts:451 设置四...

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

7. laya.d3.math.Quaternion_API3.0 [ 50%]

...(顺序为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 laya/d3/math/Quaternion.ts:451 设置四...

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

8. laya.d3.math.native.ConchQuaternion_API3.0 [ 48%]

...(顺序为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 in laya/d3/math/Native/ConchQuaternion...

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

9. laya.display.BitmapFont_API3.0 [ 48%]

...。 字体制作及使用方法,请参考文章 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 name padding texture tint url uuid DE...

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

10. laya.net.Loader_API3.0 [ 36%]

...Parameters url: string 图集地址或者texture地址,比如 "res/atlas/comp.atlas"或"hall/bg.jpg" Returns void clearUnLoaded clearUnLoaded(): void Defined in laya/net/Loader.ts:859 清理当前未完成的加载,所有未加载的内容全部停止加载。 Returns void event event(type: stri...

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