大约有 2,677 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0099 秒)
Laya_社区(2328) Laya2.0_文档(96) Laya3.0_api(80) Laya2.0_api(74) Laya3.0_文档(67) laya_api(23) Laya_示例(7) Laya2.0_示例(2)
...粒子特效,加载完成不回调 this.lz = this.sceneP.addChild(Laya.Sprite3D.load("res/h5/LayaScene_Effect/Effect.lh")) as Laya.Sprite3D; this.lz.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); }); 之前是按照ls导出的不回调,你们在线技术说场...
来源: Laya_社区 发布时间: 20180327
...请问有知道是什么原因的吗?~~~~~~~~~~~~~ 关于遍历产生的sprite的点击事件,急,大神帮看哈 动画混合无效(版本2.6) 如何设置Sprite的宽高和点击区域? 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 laya2.0加载3d场景报错Uncaugh...
来源: Laya_社区 发布时间: 20230901
...atar数据丢失了, 并且我游戏中要对武器进行节点绑定linkSprite3DToAvatarNode 附件 : --> 2019-10-23 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 这个新版弃用了...
来源: Laya_社区 发布时间: 20191023
...his.scene); 3.新建模型,并且添加B页面的3D场景中 var map: Laya.Sprite3D = Laya.Sprite3D.load("cj/cj.lh"); this.scene.addChild(map); 4.切换页面 private playGame(): void { Laya.stage.removeChild(this.welcomePanel); this.gamePanel = new GamePanel();//不管是不是重新new的,模...
来源: Laya_社区 发布时间: 20180411
...ne3D):void{ Laya.stage.addChild(res); //用于挂点的精灵 var box: MeshSprite3D = new MeshSprite3D(PrimitiveMesh.createBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { material.albedoTe...
来源: Laya2.0_文档 发布时间: 20210714
...方法即可 /** * - 骨骼挂点 * @param nodeName * @param root * @param Sprite3D */ public static link2Node(nodeName: string, root: Laya.Sprite3D, Sprite3D: Laya.Sprite3D) { //递归调用 let index = 0; let child: Laya.Sprite3D = null; while (true) { child = root.getChildAt(index) as Laya.Sprite...
来源: Laya_社区 发布时间: 20190918
...ysics.js:1802) at PrismaticJoint.__proto._setActive (laya.core.js:6983) at Sprite.__proto._inActiveHierarchy (laya.core.js:13662) at Sprite.__proto._processInActive (laya.core.js:13650) at Sprite.__proto._onRemoved (laya.core.js:13708) at Sprite.__proto._setParent (laya.core.js:13376) at Sprite.__pr...
来源: Laya_社区 发布时间: 20190227
Sprite.loadImage在Android平台无法卡死,web和iOS平台正常 在Android平台使用Spirte.loadImage方法初始Sprite卡死,log中一直打印日志“JCGraphicsCmdDispath::calcBoundingBox Wrong command number!,cmd=-65536” 同样的代码和图片地址在web和iOS平台正常; 代码...
来源: Laya_社区 发布时间: 20171229
... QZONE 微信 liqunyang 赞同来自: // test drawToCanvas const sp1 = new Sprite(); sp1.loadImage('bet/cheer_1_3.png'); const sp2 = new Sprite(); sp2.x = 100; sp2.loadImage('bet/cheer_1_4.png'); sp1.addChild(sp2); this.addChild(sp1); const htmlCanvas = sp1.drawToCanvas(640, 200, 0, 0); const canvas...
来源: Laya_社区 发布时间: 20171018
...Laya.stage.bgColor = "#232628"; Stat.show(); this.init(); } init() { const Sprite = Laya.Sprite, Animation = Laya.Animation, Text = Laya.Text, Event = Laya.Event; // 创建背景 this.spBg = Sprite.fromImage(PathBg); Laya.stage.addChild(this.spBg); // 创建动画 this.aniFly = new Animation(); this...
来源: Laya2.0_示例 发布时间: 20260303