大约有 572 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
Laya_社区(374) Laya3.0_api(85) Laya2.0_文档(40) laya_api(28) Laya3.0_文档(21) Laya2.0_api(18) Laya_示例(6)
...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
...二次调用报错 使用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
...All Inherited Externals Only exported Menu Globals "laya/d3/core/RenderableSprite3D" RenderableSprite3D Class RenderableSprite3D RenderableSprite3D 类用于可渲染3D精灵的父类,抽象类不允许实例。 Hierarchy Sprite3D RenderableSprite3D PixelLineSprite3D SkinnedMeshSprite3D MeshSprite...
来源: Laya3.0_api 发布时间: 20231115
...; 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_社区 发布时间: 20200515
用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
...on 2018-08-02 0 5 分享 微博 QZONE 微信 赞同来自: 不经过Sprite3D.instantiate,直接addchild,this.scene2.addChild(Laya.loader.getRes("res/test.lh")),就没问题 @Laya_Aaron 2018-08-02 0 4 分享 微博 QZONE 微信 家民 赞同来自: 这个问题一直都还存在吗??? ...
来源: Laya_社区 发布时间: 20180801
...例组件。 Component3D owner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D started : Boolean是否已执行start函数。Component3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Component3D() 创建一个新的 Componen...
来源: laya_api 发布时间: 20170929
...Sprite时,不能将3D节点作为其属性值。当设置为3D节点Laya.Sprite3D时,不能将2D节点作为其属性值。 4.1.1 2D节点的使用 首先,如动图4-1所示,将场景中已经添加好的2D节点Sprite拖入到@property暴露的属性入口中,这样就获取到了此节...
来源: Laya3.0_文档 发布时间: 20251010
...1所示。 ```typescript //平面 var plane = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))) as Laya.MeshSprite3D; //新建材质 var planeMat:Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya....
来源: Laya2.0_文档 发布时间: 20210715
...建了一个平面。如图1所示。 ```typescript //平面 var plane:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createPlane(10, 10, 10, 10))) as MeshSprite3D; //新建材质 var planeMat:BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/threeDimen/Physics/grass.p...
来源: Laya2.0_文档 发布时间: 20210714