大约有 1,686 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1402) Laya3.0_api(93) Laya2.0_文档(63) Laya3.0_文档(40) Laya_示例(36) laya_api(32) Laya2.0_api(19) Laya2.0_示例(1)
...dComponent(CameraMoveScript); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Qu...
来源: Laya_示例 发布时间: 20250219
...StaticBatchManager 实例。 StaticBatchManager combine(staticBatchRoot:Sprite3D, renderableSprite3Ds:Vector.<RenderableSprite3D> = null):void[static] 静态批处理合并,合并后子节点修改Transform属性无效,根节点staticBatchRoot可为null,如果根节点不为null,根...
来源: Laya2.0_api 发布时间: 20190513
Laya3D,支持的IOS版本最低是多少? 使用LAYA3D,到加载Sprite3D对象到场景上的时候,遇到个问题。在PC端浏览器可以正常打开正常渲染,但是在苹果手机上,ios9以下版本(测试用了ios8.3和8.4),只出现声音。画面卡主不动了。后来...
来源: Laya_社区 发布时间: 20180305
... at PhysicsCollider.__proto._onAdded (libs/laya.d3.js:41745) at Sprite3D.__proto._addComponentInstance (libs/laya.core.js:21498) at Sprite3D.__proto.addComponent (libs/laya.core.js:21573) at Function.Utils3D._createNodeByJson (libs/laya.d3.js:10690) at Function.Utils3D._...
来源: Laya_社区 发布时间: 20190622
用u3d导出的粒子效果,不能移动粒子的位置 var particleSprite3D:Laya.Sprite3D = Laya.Sprite3D.load("res/LayaScene_effect/effect.lh") as Laya.Sprite3D; particleSprite3D.transform.translate(new Laya.Vector3(0,20,0)) this.scene.addChild(particleSprite3D); 用u3d导出的粒子效果,...
来源: Laya_社区 发布时间: 20180516
...载lh文件不显示的原因。 var staticMesh = scene.addChild(new Laya.Sprite3D()); staticMesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { var meshSprite = sprite.getChildAt(0);//此对象不一定是MeshSprite3D类型,会导致出错 var mesh = meshSprite.meshFilter.sharedMesh;...
来源: Laya_社区 发布时间: 20161021
...; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCollider); collision.restitution = 0.1; this.ball = this.scene3D.getChildByName("Ball") as Sprite3D; this.b...
来源: Laya_社区 发布时间: 20200512
用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
...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
... 请大神指点 , 为什么我导出的.lh 文件加载后,复制给Sprite3D 里面有个摄像机,和 Sprite3D ,而我按照你们的例子去获取MeshSprite3D 根本就没有 ! 1.如果可以贴 怎么实现,不行是不是我导出有问题 2.因为我这个是双面的 背...
来源: Laya_社区 发布时间: 20170907