大约有 1,686 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1402) Laya3.0_api(93) Laya2.0_文档(63) Laya3.0_文档(40) Laya_示例(36) laya_api(32) Laya2.0_api(19) Laya2.0_示例(1)
...3 关注: 2 人 chrysanthemum • 2018-04-17 16:30 报错的信息是"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file.",说明要求的是加载一个.lh文件,但是用Scene导出的却是一个.ls文件 w1114367261 • 2018-04-17 16:47 ...
来源: Laya_社区 发布时间: 20180416
...nder 实例。 Returns SimpleSkinnedMeshRenderer Properties _bones _bones: Sprite3D[] = [] Inherited from SkinnedMeshRenderer._bones Defined in laya/d3/core/SkinnedMeshRenderer.ts:28 Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 _r...
来源: Laya3.0_api 发布时间: 20231115
...了一下,调用create的方式,Laya.loader.getRes(xx.lh)获得的是Sprite3D对象,load方式,Laya.loader.getRes(xx.lh)获得的是内容json。 2017-05-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 c...
来源: Laya_社区 发布时间: 20170511
...1:官方接口编译 private $compileShader(model: Laya.Sprite3D) { if (model instanceof Laya.ShuriKenParticle3D) { var shuriKenParticle3D: Laya.ShuriKenParticle3D = model as Laya.ShuriKenParticle3D; var r...
来源: Laya_社区 发布时间: 20200606
...果成功后,使用lh文件加载多个模型,用for语句批量为meshSprite3D添加阴影属性,但仅有最后一个成功(图片绿地上的阴影),for语句内的材质修改却全部都生效了 var mesh:Laya.MeshSprite3D; for(var i =0;i<this.sprite3D._childs.length;i++){ mes...
来源: Laya_社区 发布时间: 20171110
...script //新建一个球体模型并添加到舞台上 var sphere:Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createSphere(1))) as Laya.MeshSprite3D; //新建一个球形的碰撞盒 var sphereShape:Laya.SphereColliderShape = new Laya.SphereColliderShape(1); //给球添加...
来源: Laya2.0_文档 发布时间: 20210714
...与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: var a:Sprite3D = new Sprite3D(); a.transform.rotation; 2018-09-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 careylwq 相关问题 sprite旋...
来源: Laya_社区 发布时间: 20180823
.../激活启动类 new Sprite_ScreenShot(); package { import laya.d3.core.Sprite3D; import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import laya.ui.Image; import laya.display.Sprite; /** * ... *...
来源: Laya2.0_示例 发布时间: 20250219
...同来自: 我就是这样做的Laya.loader.create(....lh文件),后面Sprite3D.load(....lh)文件再挂在人身上 2017-06-15 0 1 分享 微博 QZONE 微信 leeq3000 赞同来自: 的确有这个问题 2017-11-21 0 0 分享 微博 QZONE 微信 183*****755 赞同来自: 这个正确的做法是 ...
来源: Laya_社区 发布时间: 20170614
...ot;) as Laya.Camera; camera.addComponent(CameraMoveScript); var tiger:Laya.Sprite3D = this._scene.getChildByName("tiger_idle") as Laya.Sprite3D; console.log(tiger); var animator:Laya.Animator = tiger.getComponentByIndex(0) as Laya.Animator; animator.play("idle"); var cat:Laya.Spr...
来源: Laya_社区 发布时间: 20180317