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

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

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

.../math/RandX" RandX Class 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...

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

2. laya.d3.core.particleshuriken.module.GradientSize_API3.0 [ 92%]

... Defined in laya/d3/core/particleShuriKen/module/GradientSize.ts:183 最大随机双固定尺寸。 Returns number constantMaxSeparate get constantMaxSeparate(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientSize.ts:197 最小分轴随机双固定尺寸。 Returns Vector3 constantM...

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

3. Laya2.1 加载spine动画会随机出现抖动 [ 92%]

Laya2.1 加载spine动画会随机出现抖动 LayaAir2.1版本  代码如下  资源zip包已经上传  请各位大佬解答一下 //加载spine动画 this.skeleton = new Laya.Skeleton ();  Laya.stage.addChild(this.skeleton);  this.skeleton.pos(parseInt (npcPos[0]), parseInt (npcPos[1]));  ...

来源: Laya_社区 发布时间: 20190516

4. 在屏幕四周随机位置出现飞机,怎么做? [ 91%]

在屏幕四周随机位置出现飞机,怎么做? 在屏幕四周随机位置出现飞机向屏幕内随机位置飞行,超出屏幕外消失 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_...

来源: Laya_社区 发布时间: 20181025

5. 5以内的随机数怎么生成 [ 90%]

5以内的随机数怎么生成 新人 最好有代码 谢谢 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Sky 赞同来自: Math.random()*5 这问题百度就出来了,比帖子快 2018-07-18 0 1 ...

来源: Laya_社区 发布时间: 20180718

6. laya.d3.core.particleshuriken.module.GradientAngularVelocity_API3.0 [ 89%]

... laya/d3/core/particleShuriKen/module/GradientAngularVelocity.ts:237 最大随机双固定角速度。 Returns number constantMaxSeparate get constantMaxSeparate(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientAngularVelocity.ts:251 最大分轴随机双固定角速度。 Returns ...

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

7. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 89%]

... 固定时间 Random Between Two Constant 从最小到最大两个时间中随机取值 (动图4)展示了使用最小2到最大5秒随机的方式,可以看到当第4秒时,粒子开始发射 Start Lifetime:控制每个粒子的生命周期,也就是粒子发生多长时间后消失,...

来源: Laya3.0_文档 发布时间: 20240117

8. laya.d3.core.particleshuriken.module.FrameOverTime_API3.0 [ 88%]

...meOverTime.ts:76 生命周期旋转类型,0常量模式,1曲线模式,2随机双常量模式,3随机双曲线模式。 Returns number Methods clone clone(): any Defined in laya/d3/core/particleShuriKen/module/FrameOverTime.ts:148 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject...

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

9. laya.d3.core.particleshuriken.module.GradientColor_API3.0 [ 88%]

...or.ts:69 生命周期颜色类型,0为固定颜色模式,1渐变模式,2为随机双固定颜色模式,3随机双渐变模式。 Returns number Methods clone clone(): any Defined in laya/d3/core/particleShuriKen/module/GradientColor.ts:140 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destOb...

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

10. laya.d3.core.particleshuriken.module.StartFrame_API3.0 [ 88%]

.../particleShuriKen/module/StartFrame.ts:42 开始帧类型,0常量模式,1随机双常量模式。 Returns number Methods clone clone(): any Defined in laya/d3/core/particleShuriKen/module/StartFrame.ts:90 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: any): void Defined in laya/...

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