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

大约有 1,258 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0128 秒)

1021. laya.d3.core.light.DirectionLight_API3.0 [ 49%]

...dowTwoCascadeSplits timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

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

1022. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 49%]

...CLICK,this,readnext);         //添加到舞台     Laya.stage.addChild(this.bgimg);     }     function onLoading(progress)     {         console.log("加载进度: " + Math.floor(progress*100)+"%");     }     function onError(err)     {         co...

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

1023. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 49%]

...ont; txt.leading = 15; //把文本添加到场景中的bf节点下 this.bf.addChild(txt); } } ``` 上面的代码运行效果如下图的蓝色框内所示: ![img](img/20.png) > 上图非蓝色框的是FontClip组件的效果,如果只是简单的单行位图文本,FontClip也可以满足,...

来源: Laya2.0_文档 发布时间: 20210715

1024. 分享:为List组件下Item(Box)下的Button(或其他组件)进行监听! [ 49%]

...ull, Loader.ATLAS); //添加UI界面 function onAssetLoaded() { Laya.stage.addChild(new TestUI()); } 附件 : --> ButtonClickDemo.rar 2017-05-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 8 个回复 Monica - 知识达人...

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

1025. laya.physics.PhysicsDebugDraw [ 49%]

...ed Public Methods MethodDefined By  PhysicsDebugDraw()PhysicsDebugDraw addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

1026. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 49%]

...(0.5, 0.5); mArmature.on(Event.STOPPED, this, completeHandler); Laya.stage.addChild(mArmature);   play(); }); }   function completeHandler() { mArmature.stop();         mArmature.removeSelf();         mArmature.removeChildren();         mArmature.destroy(true);           Laya.Pool...

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

1027. vivo小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...gt; { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.printProgress).then(() => { Laya.loader.load("sub2/Sphere.lh").then((res: any) => { let sp3 = res.create(); this.scene3d.addChild(sp3); }); }) } printProgress(r...

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

1028. 分享-js资源进度加载 [ 49%]

....onProgress)); } onProgress() { this.Progress = new Progress(); Laya.stage.addChild(this.Progress); //加载资源进度并且监听 Laya.loader.load(this.arr, Laya.Handler.create(this, this.onAssetsLoaded), Laya.Handler.create(this, this.onAssetsLoading, null, false)); } onAssetsLoading(progress) {...

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

1029. laya.d3.core.scene.VRScene [ 49%]

...ods MethodDefined By  VRScene() 创建一个 VRScene 实例。 VRScene addChild(node:Node):Node[override] 添加子节点。 BaseScene addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 BaseScene addChildren(... args):void 批量增加子节点 Node add...

来源: laya_api 发布时间: 20170422

1030. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 48%]

...articleSystem scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

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