大约有 1,761 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1450) Laya3.0_api(94) Laya2.0_文档(77) Laya3.0_文档(52) Laya_示例(36) laya_api(32) Laya2.0_api(19) Laya2.0_示例(1)
...二次调用报错 使用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
....Loader.getRes("res/my_res/guns_test.lh"); let a :Laya.Sprite3D = new Laya.Sprite3D(); a.addChild(guns_test.getChildAt(0).clone()); a.transform.translate(new Laya.Vector3(0,1.38,-60))//transform.localPositionX-=2; a.transform.sc...
来源: Laya_社区 发布时间: 20200107
...mera; private directionlight: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya....
来源: Laya_社区 发布时间: 20200917
...StaticBatchManager 实例。 StaticBatchManager combine(staticBatchRoot:Sprite3D, renderableSprite3Ds:Vector.<RenderableSprite3D> = null):void[static] 静态批处理合并,合并后子节点修改Transform属性无效,根节点staticBatchRoot可为null,如果根节点不为null,根...
来源: Laya2.0_api 发布时间: 20190513
...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_示例 发布时间: 20251130
Laya3D,支持的IOS版本最低是多少? 使用LAYA3D,到加载Sprite3D对象到场景上的时候,遇到个问题。在PC端浏览器可以正常打开正常渲染,但是在苹果手机上,ios9以下版本(测试用了ios8.3和8.4),只出现声音。画面卡主不动了。后来...
来源: Laya_社区 发布时间: 20180305
...; 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
... 请大神指点 , 为什么我导出的.lh 文件加载后,复制给Sprite3D 里面有个摄像机,和 Sprite3D ,而我按照你们的例子去获取MeshSprite3D 根本就没有 ! 1.如果可以贴 怎么实现,不行是不是我导出有问题 2.因为我这个是双面的 背...
来源: Laya_社区 发布时间: 20170907