大约有 274 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(116) Laya3.0_api(79) Laya2.0_文档(27) Laya3.0_文档(19) laya_api(17) Laya2.0_api(15) Laya_示例(1)
...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Sprite3D" Sprite3D Class Sprite3D Sprite3D 类用于实现3D精灵。 Hierarchy Node Sprite3D RenderableSprite3D BaseCamera LightSprite Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Ac...
来源: Laya3.0_api 发布时间: 20231115
...们就可以通过getRes(.lh)得到这个资源的原型对象,即一个Sprite3D对象,这个原型对象就是你这个特效的“根”,它如果被destry(true),者与这个特效相关的所有资源都会被destry,包括纹理、模型、动画,即会释放出内存。如果你只...
来源: Laya_社区 发布时间: 20180814
...port class RuntimeScript extends RuntimeScriptBase { onAwake(): void { let sprite3d: Laya.Sprite3D = this.scene3D.getChildByName("m_Sprite3D"); let ui3d: Laya.UI3D = sprite3d.getComponent(Laya.UI3D); let ui3d_root: Laya.Sprite = ui3d.sprite; console.log("ui3d_root", ui3d_root); let txtField: Laya.GT...
来源: Laya_社区 发布时间: 20251020
... 请大神指点 , 为什么我导出的.lh 文件加载后,复制给Sprite3D 里面有个摄像机,和 Sprite3D ,而我按照你们的例子去获取MeshSprite3D 根本就没有 ! 1.如果可以贴 怎么实现,不行是不是我导出有问题 2.因为我这个是双面的 背...
来源: Laya_社区 发布时间: 20170907
...阵和世界矩阵,直接获取矩阵的12,13,14号元素就是position Sprite3D.transform.localMatrix Sprite3D.transform.worldMatrix 2017-06-01 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 q755456 相关问题 看了其他引擎才...
来源: Laya_社区 发布时间: 20170601
...t = scene.addChild(new DirectionLight()) as DirectionLight; //加载模型 Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Handler.create(null, function(sp:Sprite3D):void { //将模型加到场景上 var layaMonkey:Sprite3D = scene.addChild(sp) as Sprite3D; })) ``` 编译运行上...
来源: Laya2.0_文档 发布时间: 20210715
...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
...l, function(tex) { //使用纹理 var earth1 = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createSphere(5, 32, 32))); earth1.transform.translate(new Laya.Vector3(10, 20, -8)); var earthMat = new Laya.BlinnPhongMaterial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1.mesh...
来源: Laya2.0_文档 发布时间: 20210715
...Sprite时,不能将3D节点作为其属性值。当设置为3D节点Laya.Sprite3D时,不能将2D节点作为其属性值。 4.1.1 2D节点的使用 首先,如动图4-1所示,将场景中已经添加好的2D节点Sprite拖入到@property暴露的属性入口中,这样就获取到了此节...
来源: Laya3.0_文档 发布时间: 20251010
3D模型无法用Tween类吗 //载入并显示模型 var layaMonkey: Laya.Sprite3D =Laya.Sprite3D.load("LayaMonkey/LayaMonkey.lh") as Laya.Sprite3D; scene.addChild(layaMonkey); layaMonkey.transform.localScale = new Laya.Vector3(0.001,0.001,0.001); layaMonkey.transform.localPosition = new Laya.Vecto...
来源: Laya_社区 发布时间: 20180112