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

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

51. dialog设置缩放问题 [ 70%]

...固定的值。 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 问题状态 最新活动: 2018-11-19 17:11 浏览: 1672 关注: 2 人 小小特工 • 2018-11-19 17:04 修改了源码 dialog里面添加一个scaleH参数,默认为1。DialogManager的dialog.scale(1, 1...

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

52. 正交摄像机裁剪问题 [ 70%]

...穿透的问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 我这样载入场景问题出现在哪呢?? 关于removechild、destory、clear的问题 IDE创建的UI 层级问题 问题状态 最新活动: 2017-05-08 11:11 浏览: 1689 关注: 3 人

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

53. 材质-BlinnPhong材质加载 [ 69%]

...ransform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); Laya.timer.frameLoop(1, this, function () { layaMonkey.transform.rotate(this.rotation, false); });class BlinnPhongMaterialLoad { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true)...

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

54. 高级应用-闪光 [ 69%]

... new Laya.Vector3(0, 0, 0.5); var scaleDelta = 0; var scaleValue = 0; Laya.timer.frameLoop(1, this, loop); function loop() { scaleValue = Math.sin(scaleDelta += 0.01); pos1.elements[0] = pos2.elements[0] = scaleValue * 13; pos1.elements[1] = Math.sin(scaleValue * 20) * 2; pos2.elements[1] = Math.sin...

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

55. 缓动动画运行一段时间后失效 [ 68%]

缓动动画运行一段时间后失效   Laya.timer.loop(2000, this, this.doTween); doTween() { Laya.Tween.from(             this.skeleton,             { scaleX: 1.3, scaleY: 0.8 },             200,             Laya.Ease.bounceOut,     ...

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

56. laya.map.TileAniSprite [ 68%]

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

来源: laya_api 发布时间: 20170929

57. 灯光-方向光 [ 68%]

...play(null, 1.0, 40, 70); }); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQuat(_direction, _quaternion, _direction); directionLig...

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

58. 没有人尝试使用3d物理引擎么 [ 67%]

...试了通过创建cannon的物理场景和刚体几何体对象,由laya.timer驱动cannon解算物理变化,然后不断把cannon世界里的物体变化实时赋值给laya场景里的物体,但是感觉效率有点低啊……   比如: package { import laya.d3.core.BaseCamera; import laya...

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

59. laya.display.Stage [ 67%]

...显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Numbe...

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

60. laya.map.GridSprite [ 67%]

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

来源: laya_api 发布时间: 20170929