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

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

511. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 25%]

...e.log("Particle3D"); //从拿到的粒子系统克隆一个 var res = Laya.loader.getRes(file_path); var particle = res.clone(); this._particle = particle; //获取这个粒子特效的所有粒子系统,用于后面整体播放 for (var i = 0, len = this._particle.numChildren; i < len; i++) { ...

来源: Laya3.0_文档 发布时间: 20240117

512. 精灵 · LayaAir3.0文档 · LAYABOX [ 24%]

... Texture; set texture(value: Texture); 我们来看看代码示例: Laya.loader.load("atlas/comp/image.png").then(() => { let sprite = new Laya.Sprite(); //精灵设置纹理并居中显示 let res = Laya.loader.getRes("atlas/comp/image.png"); sprite.pos(Laya.stage.width >> 1, Laya.stage....

来源: Laya3.0_文档 发布时间: 20240528

513. laya native加载人物模型出错 [ 5%]

laya native加载人物模型出错 我使用 var that=this; Laya.loader.create("res/3d/baseman01.lh", Laya.Handler.create(this, function(){  var scene3d=new Laya.Scene3D(); that.owner.addChild(scene);  var model=Laya.loader.getRes(window.getPath("res/3d/baseman01.lh")); var player=model.clone();...

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