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

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

321. layair 两点之间的距离api在哪里 [ 86%]

layair 两点之间的距离api在哪里 2018-08-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 阿耀 赞同来自: 陌离 纯数学问题,可以自己封装,laya并没有这样的api /** * * @param {坐...

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

322. UI-Clip [ 86%]

...ew Image(bgSkin); bg.size(224, 302); bg.pos(Laya.stage.width - bg.width >> 1, Laya.stage.height - bg.height >> 1); Laya.stage.addChild(bg); } function createTimerAnimation() { counter = new Clip(clipSkin, 10, 1); counter.autoPlay = true; counter.interval = 1000; counter.x = (Laya.stage.width - count...

来源: Laya_示例 发布时间: 20251130

323. HTMLDivElement下划线换行时,下划线颜色错误 [ 86%]

...ic.drawLine(startWord.x,lineY,lastWords.x+lastWords.width,lineY,this.color,1); var hitRec=HTMLHitRect.create(); hitRec.rec.setTo(startWord.x,lastWords.y,lastWords.x+lastWords.width-startWord.x,lastWords.height); hitRec.href=this.href; recList.push(hitRec); }graphic.drawLine()这里会用到this.colo...

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

324. laya.d3.core.particleShuriKen.module.GradientSize [ 86%]

...dientSize  type : int[read-only] 命周期尺寸类型,0曲线模式,1随机双常量模式,2随机双曲线模式。 GradientSizePublic Methods  MethodDefined By  GradientSize() 创建一个 GradientSize,不允许new,请使用静态创建函数。 实例。 GradientSize  clone():* ...

来源: laya_api 发布时间: 20170929

325. laya.d3.core.particleShuriKen.module.GradientSize [ 86%]

...dientSize  type : int[read-only] 命周期尺寸类型,0曲线模式,1随机双常量模式,2随机双曲线模式。 GradientSizePublic Methods  MethodDefined By  GradientSize() 创建一个 GradientSize,不允许new,请使用静态创建函数。 实例。 GradientSize  clone():* ...

来源: Laya2.0_api 发布时间: 20190513

326. label位置设置 [ 86%]

...没有反应,一直在x=0这个位置,但是设置y值有变化。 2017-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 麻烦上传一个有问题的例子吧,我们...

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

327. 文本-下划线 [ 86%]

...#232628"; createTexts(); })(); function createTexts() { createText('left', 1, null, 100, 10); createText('center', 2, "#00BFFF", 155, 150); createText('right', 3, "#FF7F50", 210, 290); } function createText(align, underlineWidth, underlineColor, x, y) { var txt = new Text(); txt.text = "Layabox\n是...

来源: Laya_示例 发布时间: 20251130

328. laya.physics.EdgeCollider_API3.0 [ 86%]

... Inherited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/Coll...

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

329. UI-Clip [ 86%]

...ew Image(bgSkin); bg.size(224, 302); bg.pos(Laya.stage.width - bg.width >> 1, Laya.stage.height - bg.height >> 1); Laya.stage.addChild(bg); } createTimerAnimation() { const Clip = Laya.Clip; this.counter = new Clip(clipSkin, 10, 1); Laya.stage.addChild(this.counter); this.counter.autoPlay = true; th...

来源: Laya2.0_示例 发布时间: 20251130

330. laya.physics.PolygonCollider_API3.0 [ 86%]

... Inherited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/Coll...

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