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

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

81. laya.d3.core.scene.BoundsOctreeNode [ 79%]

...ctreeNode(octree:BoundsOctree, parent:BoundsOctreeNode, baseLength:Number, center:Vector3) 创建一个 BoundsOctreeNode 实例。 BoundsOctreeNode  add(object:IOctreeObject):Boolean 添加指定物体。 BoundsOctreeNode  getBound():BoundBox 获取包围盒。 BoundsOctreeNode  getCollidingWi...

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

82. 粒子-粒子演示1 [ 79%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON)...

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

83. 动画-图集动画 [ 79%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(aniConfPath, Laya.Handler.create(this, this.createAnimation), null, Laya.Loader.ATLAS); } createAnimation() { const Animatio...

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

84. 粒子-粒子演示2 [ 79%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/RadiusMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON);...

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

85. 粒子-粒子演示3 [ 79%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/particleNew.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON)...

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

86. 动画-图集动画 [ 79%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); })(); function createAnimation() { var ani = new Animation();...

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

87. Sprite-旋转缩放 [ 79%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.showApe(); } showApe() { this.ape = new Laya.Sprite(); Laya.stage.addChild(this.ape); this.ape.loadImage("res/apes/monkey2.png"); this.a...

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

88. 滤镜-模糊滤镜 [ 79%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Laya.Handler.create(this, this.setup)); } setup() { this.createApe(); this.applayFilter(); } createApe() { const Sp...

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

89. 关于定位的问题 [ 79%]

...ya.stage.scaleMode = "noborder"; //设置剧中对齐 Laya.stage.alignH = "center"; Laya.stage.alignV = "center"; //设置横竖屏 Laya.stage.screenMode = "horizontal"; 默认初始化如上 我现在代码生成一个图片 例如 var btnJump = new Laya.Sprite(); btnJump.loadImage('res/btn_jump.pn...

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

90. UI-Label [ 78%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createLabel("#FFFFFF", null).pos(30, 50); createLabel("#00FFFF", null).pos(290, 50); createLabel("#FFFF00",...

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