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

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

71. laya.display.FrameAnimation [ 65%]

...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : ...

来源: laya_api 发布时间: 20170929

72. 2D物理-仿生机器人 [ 65%]

...cleBody.linearVelocity = { x: velocityX * 5, y: velocityY * 5 }; Laya.Laya.timer.frameOnce(120, this, function () { newBall.destroy(); }); }); let label = this.label = Laya.Laya.stage.addChild(new Laya.Label("双击屏幕,仿生机器人向相反方向运动\n单击产生新的小球刚体")); lab...

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

73. 材质-BlinnPhong-漫反射贴图 [ 65%]

...hreeDimen/texture/earth.png"); earth2.meshRender.material = material; Laya.timer.frameLoop(1, this, function () { earth1.transform.rotate(this.rotation, false); earth2.transform.rotate(this.rotation, false); });class BlinnPhong_DiffuseMap { private rotation: Laya.Vector3 = new Laya.Vector3(0, 0.01, ...

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

74. 2D物理-复合碰撞器 [ 65%]

...oint.enableMotor = true; box.addComponentIntance(revoluteJoint); Laya.Laya.timer.frameLoop(1, this, this.addMiniBox); } addMiniBox() { let box = this.box; if (this.count >= this.totalBox) { return; } let sp = new Laya.Sprite(); Laya.Laya.stage.addChild(sp); sp.x = box.x; sp.y = box.y; sp.addComponen...

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

75. laya2.0如何暂停游戏 [ 65%]

laya2.0如何暂停游戏   Laya.stage.renderingEnabled=false Laya.timer.pause() Laya.timer.scale=0这些代码都不能停止组件的onUpdate 有什么能暂停onUpdate的方法吗? 2019-05-18 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

76. 缓动渲染透明度的时候概率性报错 [ 65%]

缓动渲染透明度的时候概率性报错 使用TimeLine 或者 Timer 缓动alpha的时候,有概率性会报错,报错截图看附件。 我是这样使用的Timer.to(this,{alpha:0},1500); 报错地方 SaveBase.save 方法里,context._saveMark 这个就为null。 麻烦帮我看看,...

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

77. laya.ui.DialogManager [ 65%]

...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : ...

来源: laya_api 发布时间: 20170929

78. laya.display.Stage_API3.0 [ 65%]

...X scaleY scene screenMode scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroy...

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

79. laya.map.MapLayer [ 65%]

...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : ...

来源: laya_api 发布时间: 20170929

80. 灯光-聚光 [ 64%]

...aternion = new Laya.Quaternion(); var _position = new Laya.Vector3(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transformQuat(spotLight.transform.position, _quaternion, _position); spotLight.transform.position = _positi...

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