大约有 1,719 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1434) Laya3.0_api(93) Laya2.0_文档(63) Laya3.0_文档(41) Laya_示例(36) laya_api(32) Laya2.0_api(19) Laya2.0_示例(1)
...tSprite deprecated LightSprite 类用于创建灯光的父类。 Hierarchy Sprite3D LightSprite DirectionLight PointLight SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hi...
来源: Laya3.0_api 发布时间: 20231115
用1.01导出的场景加载失败 提示 Sprite3D: the .lh file root type must be Sprite3D,please use other function to load this file. 我的代码 var scene = Laya.Sprite3D.load("unity/LayaScene_1/1.lh"); SceneManager.Instance().AddChild(scene); 2017-05-31 添加评论 免费帖...
来源: Laya_社区 发布时间: 20170531
... 请大神指点 , 为什么我导出的.lh 文件加载后,复制给Sprite3D 里面有个摄像机,和 Sprite3D ,而我按照你们的例子去获取MeshSprite3D 根本就没有 ! 1.如果可以贴 怎么实现,不行是不是我导出有问题 2.因为我这个是双面的 背...
来源: Laya_社区 发布时间: 20170907
...lh"], null, processHandler);方法已经加载了lh文件,然后在创建sprite3D的时候,如何使用呢?还是用Sprite3D.load()? 这样会不会加载两次? 2017-05-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20170520
...3D { /*3D场景*/ private scene:Laya.Scene; /*3D角色*/ private role:Laya.Sprite3D; /*3D摄像机*/ public camera:Laya.Camera; constructor() { //初始化微信小游戏 Laya.MiniAdpter.init(); //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; L...
来源: Laya_社区 发布时间: 20180307
...们就可以通过getRes(.lh)得到这个资源的原型对象,即一个Sprite3D对象,这个原型对象就是你这个特效的“根”,它如果被destry(true),者与这个特效相关的所有资源都会被destry,包括纹理、模型、动画,即会释放出内存。如果你只...
来源: Laya_社区 发布时间: 20180814
...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
...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.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
...static function OnCreateComplete1():void{ trace("complete load role"); var sprite3D:Sprite3D = Laya.loader.getRes("laya_assert/LayaScene_role/role.lh"); mainScene.addChild(sprite3D); } 上面是我加载的代码。mainScene是我缓存的scene变量。 附件 : --> 2018-11-17 添加评论 免费帖...
来源: Laya_社区 发布时间: 20181117