大约有 1,725 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1417) Laya3.0_api(94) Laya2.0_文档(77) Laya3.0_文档(49) Laya_示例(36) laya_api(32) Laya2.0_api(19) Laya2.0_示例(1)
...rObject Object ... Public Methods MethodDefined By RenderObject(owner:Sprite3D)RenderObjectConstructor DetailRenderObject()Constructorpublic function RenderObject(owner:Sprite3D) Parameters owner:Sprite3DSat Mar 18 2017, 04:52 PM +08:00
来源: laya_api 发布时间: 20170318
...quot;)的方式也加载过,没成功。 Laya_Aaron • 2018-07-26 11:19 sprite3d.load 188*****949 • 2018-07-26 11:23 create是有问题吗,改成sprite3d.load或者Scene.load的话,项目改动会比较大 188*****949 • 2018-07-26 11:26 再说sprite3d.load调用的不是create? Laya_Aar...
来源: Laya_社区 发布时间: 20180725
...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); }); 2017-03-16 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170316
...同来自: 我遇到类似的情况, 用 Laya.loader.create() 预加载 Sprite3D (2.0 插件导出的 lh) 文件 加载成功后,用 Laya.loader.getRes() 获取 let sprite3D: Laya.Sprite3D = Laya.loader.getRes(resName) as Laya.Sprite3D; 调试发现 获取到的 对象居然是 string 类型...
来源: Laya_社区 发布时间: 20180126
...着窗口的缩放,渐变成黑色 export class Texture2dTest { private sprite3D:Laya.Sprite3D; private readonly AllPng:string[] = ["pic-001.png","output-06.png"]; private texture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stag...
来源: Laya_社区 发布时间: 20220815
...苦了! 这个事件是挂在ShurikenParticleSystem上的。 var wjqs:Sprite3D = scene.addChild(Sprite3D.load("fff.lh")) as Sprite3D; wjqs.once(Event.HIERARCHY_LOADED, this, function():void { var aaa:ShurikenParticleSystem = wjqs.getChildAt(0).getChildAt(0).particleSystem; aaa.on(Event.COMPLETE,...
来源: Laya_社区 发布时间: 20170512
...lasspublic class ShuriKenParticle3DInheritanceShuriKenParticle3D RenderableSprite3D Sprite3D Node EventDispatcher Object ShuriKenParticle3D 3D粒子。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活...
来源: Laya2.0_api 发布时间: 20190513
...二次调用报错 使用Laya.loader.create 预加载,第一次用Laya.Sprite3D.load("xxx.lh").getChildAt(0) 可以创建,第二次再调用Laya.Sprite3D.load("xxx.lh").getChildAt(0) 创建就返回undefined了,help~ 2018-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180307
...eControlScript extends Laya.Script{ /*角色模型*/ public roleModel:Laya.Sprite3D; /*角色动画组件*/ public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画是否完成*/ public aniComplete:Boolean = true; /*角色移动速度*/ public speed:...
来源: Laya_社区 发布时间: 20171113
多个UI3D出现点击位置不对 点击右边的Sprite3D(1),点击事件会跑到左边的Sprite3D去 但将右边的Sprite3D(1)的position的x值改为2.37622,则又正常了 附件 : --> LayaProject10.zip 2023-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20230912