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

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

51. laya.d3.core.render.BaseRender [ 77%]

...类,抽象类不允许实例。 Public Properties PropertyDefined By  bounds : Bounds[read-only] 获取包围盒,只读,不允许修改其值。 BaseRender  castShadow : Boolean 获取是否产生阴影。 BaseRender  enable : Boolean 获取是否可用。 BaseRender  id : int[read-only] ...

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

52. laya.d3.core.particleShuriKen.ShurikenParticleRenderer [ 77%]

... Public Properties Show Inherited Public Properties PropertyDefined By  bounds : Bounds[override] [read-only] 获取包围盒,只读,不允许修改其值。 ShurikenParticleRenderer castShadow : Boolean 获取是否产生阴影。 BaseRender enable : Boolean 获取是否可用。 BaseRender i...

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

53. dragonbones,滤镜显示不正常 [ 76%]

...滤镜ColorFilter也是完全没效果的  不知道是不是我的设置bounds方式不对     bug2.rar 2018-06-14 0 0 分享 微博 QZONE 微信 136*****187 赞同来自: 看来laya这方面还是不够完善,决定用另一款引擎了     希望laya以后能更好 2018-06-20 0 0 分享 ...

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

54. 一个动画我想设置它的大小该怎么取设置啊 [ 76%]

...大小该怎么取设置啊 rec = new Laya.Rectangle(0,0,100,100) ani.setBounds(rec)     var bounds = ani.getGraphicBounds(); ani.scale(100/bounds.width,100/bounds.height)   我想把动画宽高都设置成100 100 可是这2种方法都不能实现   该怎么去实现 2017-06-29 添加评论 ...

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

55. 急急急,如何设置按钮点击加载ani [ 75%]

...把中心点放到中间,默认在左上角             var bounds:Rectangle = ani.getGraphicBounds();             ani.pivot(bounds.width / 2, bounds.height / 2);                          ani.pos(Laya.stage.width / 2, Laya.stage.height / 2);     ...

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

56. 关于Matter.Bodies.circle [ 74%]

...rue ,刚体就会消失 var ball = Matter.Bodies.circle(Matter.Composite.bounds(ragdoll1).min.x+20, Matter.Composite.bounds(ragdoll1).min.y-25, 25, { density:4, // 密度 restitution: 0.12 ,// 弹性 isStatic:true, render: { sprite: { texture: './res/game/test.png', xOffset: 23.5, yOffset: 23.5 } ...

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

57. matter.jsr Render下可以移动视图窗口 用LayaRender则没反应 [ 74%]

... 0, canvas.width, canvas.height); //Clamp the camera position to the world bounds while centering the camera around the car var camX = clamp(-carpos.x + canvas.width/2, world.minX, world.maxX - canvas.width); var camY = clamp(-carpos.y + canvas.height/2, world.minY, world.maxY - canvas.height); cont...

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

58. Animation 使用疑问 [ 74%]

...rection);         this.aniBody.play(0, loopPlay, key);         var bound: Laya.Rectangle = this.aniBody.getBounds();         this.aniBody.pivot(bound.width / 2, bound.height / 2);         if (direction < 0) {             this.aniBody.scaleX = -1;         } else {     ...

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

59. list 加载动画为什么实现的效果会错乱掉? [ 74%]

...引 ani.play(); // 播放图集动画 // 获取动画的边界信息 var bounds = ani.getGraphicBounds(); ani.scale(80/bounds.width ,80/bounds.height) this.addChild(ani) } } Laya.class(Item1, "Item1", Box); var List = Laya.List; function setup(effList) { var list = new List(); list.itemRender = Item...

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

60. laya.d3.component.staticmesh.StaticBatchSubMesh_API3.0 [ 74%]

...Returns void addSubMesh addSubMesh(indexCount: number, indexStart: number, bounds: Bounds): void Defined in laya/d3/component/staticmesh/StaticBatchSubMesh.ts:41 Parameters indexCount: number indexStart: number bounds: Bounds Returns void clearRenderParams clearRenderParams(): void Inherited from Ge...

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