大约有 623 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
....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
... 请大神指点 , 为什么我导出的.lh 文件加载后,复制给Sprite3D 里面有个摄像机,和 Sprite3D ,而我按照你们的例子去获取MeshSprite3D 根本就没有 ! 1.如果可以贴 怎么实现,不行是不是我导出有问题 2.因为我这个是双面的 背...
来源: Laya_社区 发布时间: 20170907
用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
...ckagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类用于创建灯光的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...
来源: Laya2.0_api 发布时间: 20190513
....d3.terrainClasspublic class TerrainChunkInheritanceTerrainChunk RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainChunk 类用于创建地块。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...
来源: Laya2.0_api 发布时间: 20190513
...苦了! 这个事件是挂在ShurikenParticleSystem上的。 var wjqs:Sprite3D = scene.addChild(Sprite3D.load("fff.lh")) as Sprite3D; wjqs.once(Event.HIERARCHY_LOADED, this, function():void { var aaa:ShurikenParticleSystem = wjqs.getChildAt(0).getChildAt(0).particleSystem; aaa.on(Event.COMPLETE,...
来源: Laya_社区 发布时间: 20170512
...umentationAll Packages | All Classes | Index | Frames No Frames TrailSprite3DProperties | Methods | Events Packagelaya.d3.core.trailClasspublic class TrailSprite3DInheritanceTrailSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TrailSprite3D 类用于创建拖尾渲染精灵...
来源: Laya2.0_api 发布时间: 20190513
...tationAll Packages | All Classes | Index | Frames No Frames PixelLineSprite3DProperties | Methods | Events Packagelaya.d3.core.pixelLineClasspublic class PixelLineSprite3DInheritancePixelLineSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object PixelLineSprite3D 类用于像素...
来源: Laya2.0_api 发布时间: 20190513
...ya.Shader3D.debugMode = true;可以看到实际上defineNames除了UV还有Sprite3D。[{ "id": "SceneEffectCommon00UV", "shaderName": "SceneEffectCommon", "defineNames": ["UV", "Sprite3D"], "passIndex": 0, "subShaderIndex": 0 }] 另外您还需要在编译shader时候调用Laya.Shader3D.compileShade...
来源: Laya_社区 发布时间: 20250217
...们介绍代码是如何使用的 三、代码中创建与使用 PixelLineSprite3D 是 LayaAir引擎提供的像素线3D精灵类,我们看看这个类最重要的方法 3.1 构造方法 从下面的代码中可以看到,当初始化一个PixelLineSprite3D 的构造方法时,代码已经帮我...
来源: Laya3.0_文档 发布时间: 20251010