大约有 541 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
...0。 2.必须确保粒子文件加载完成后再去调整 缩放 var part:Sprite3D = scene.addChild(Sprite3D.load("part.lh")) as Sprite3D; part.once(Event.HIERARCHY_LOADED, this, function():void{ part.transform.localScale = new Vector3(3, 3, 3); }); 我按照这个调整粒子大小...
来源: Laya_社区 发布时间: 20180705
导入微信小游戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to load ...
来源: Laya_社区 发布时间: 20180228
...Laya.Vector3(300, 500, 0); var translate = new Laya.Vector3(0, 0, 0); Laya.Sprite3D.load("res/LayaScene_gamescene/Conventional/chest01.lh", Laya.Handler.create(this, function(sp:Laya.Sprite3D):void { console.log("111111111111111111111") var target: Laya.Sprite3D = scene3d.addChil...
来源: Laya_社区 发布时间: 20191206
...ne.lh", Laya.Handler.create(this, function(){ var layaMonkey =Laya.Sprite3D.load("fish/denglongyu/layaScene.lh"); scene.addChild(layaMonkey) layaMonkey.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); layaMonkey.transform.position = new Laya.Vector3(0, 0.5,0); // layaMonkey.transform...
来源: Laya_社区 发布时间: 20171212
...不回调 this.sceneP = Laya.stage.addChild(Laya.Scene.load(name)) as Laya.Sprite3D; //this.sceneP.transform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3, 3); this.sceneP.trans...
来源: Laya_社区 发布时间: 20180327
... Cannot read property '_addRenderObject' of undefined preload.js:55 at MeshSprite3D._onActive (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.d3.js:5617:17) at MeshSprite3D._activeHierarchy (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:12325:18) at Sprite3D._activeHierarchy (file:/...
来源: Laya_社区 发布时间: 20191129
...导出,只会导出Avatar 2.通过这个API来关联骨骼节点(linkSprite3DToAvatarNode(nodeName: string, sprite3D: Sprite3D): boolean;) 2018-11-09 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 子言 相关问题 unity导...
来源: Laya_社区 发布时间: 20181109
SkinnedMeshSprite3D Laya2.0 SkinnedMeshSprite3D rigidbody和boxcollider不起作用 2018-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 小小鹿 赞同来自: 知道原因了,我的meshsprite上面有一...
来源: Laya_社区 发布时间: 20181024
...示对象,我看3d的addChild源码 if (!((node instanceof laya.d3.core.Sprite3D ))) throw new Error("Sprite3D:Node type must Sprite3D."); 是不支持的,请问有其他方式么? 麟。 • 2018-09-12 18:44 我的目的是想2d的ui可以有3d的坐标系Transform3D FullyI • 2019...
来源: Laya_社区 发布时间: 20180912
...eControlScript extends Laya.Script{ /*角色模型*/ public roleModel:Laya.Sprite3D; /*角色动画组件*/ public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画是否完成*/ public aniComplete:Boolean = true; /*角色移动速度*/ public speed:...
来源: Laya_社区 发布时间: 20171113