大约有 433 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0061 秒)
Laya_社区(273) Laya3.0_api(43) Laya_示例(35) Laya2.0_文档(31) Laya3.0_文档(20) laya_api(15) Laya2.0_api(15) Laya2.0_示例(1)
...worker.js"; Laya.WorkerLoader.enable=true; 加载导出的3D模型 Laya.Sprite3D.load("res/assets/LayaScene_guanyu/TestScene.lh"); 报错:laya.d3.js:37225 Uncaught TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided....
来源: Laya_社区 发布时间: 20190323
...导出的文件传上去你帮忙看看 Laya代码 var particleRoot = Laya.Sprite3D.load("Samples.lh") scene.addChild(particleRoot); C_jx • 2017-03-01 09:47 帮我看看上传上去的那个特效,是我显示的问题还是特效导出的问题,我在这里纠结了很久 183*****75...
来源: Laya_社区 发布时间: 20170228
...ng 在laya3D中,网格模型数据是通过laya.d3.core.MeshSprite3D展示的,他里面有两个极其重要的属性就是laya.d3.core.MeshFilter(网格过滤器)和laya.d3.core.meshRender(网格渲染器)。 1.laya.d3.core.MeshFilter(网格过滤器):这个负责数据,你用...
来源: Laya_社区 发布时间: 20161019
...ya.d3.core.BaseCamera; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.RandX; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; im...
来源: Laya_社区 发布时间: 20170331
...的模型怎么转成lh格式的模型? var zombie = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/new/Zombie.lh")); 这个是案例里面加载模型的格式.请问下fbx类型的模型怎么转成lh格式的模型? 2017-12-26 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20171226
...:void { Laya.stage.addChild(scene) as Scene3D; //获取cube对象 var cube:Sprite3D = scene.getChildByName("Cube"); //添加组件(脚本) var _script:SceneScript = cube.addComponent(SceneScript); //label用于显示 var _lab:Label = new Label(); _lab.text = "test"; _lab.height = 100; _lab.width = 1...
来源: Laya2.0_文档 发布时间: 20210715
...e3D)导出的时候被转换导出了。这种纹理需要采用预设(Sprite3D)分别导出,单独加载使用。 #### 2.2.2 LayaAirIDE纹理压缩功能 LayaAirIDE中依次点击 菜单 ->> 工具 ->> 纹理图片转换,可以打开图3所示界面。  (图3) 由于...
来源: Laya2.0_文档 发布时间: 20210714
...ition = new Laya.Vector3(0,4,10); //载入并显示3D建筑 var map = Laya.Sprite3D.load("LayaScene_test/test.lh"); scene.addChild(map); //map.transform.localPosition = new Laya.Vector3(0,-4,-10); //控制摄像机 camera.addComponent(CameraMoveScript); 2017-05-24 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170524
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 微信小游戏如何使用ttf...
来源: Laya_社区 发布时间: 20230208
...der.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.printProgress).then(() => { Laya.loader.load("sub2/Sphere.lh").then((res: any) => { let sp3 = res.create(...
来源: Laya3.0_文档 发布时间: 20250103