大约有 144 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
... Laya.Scene3D.load("res/LayaScene_game/Conventional/game.ls",Laya.Handler.create(null,function(scene3d){ // HelperApp.a = scene3d; //加载完成获取到了Scene3d scene3d.name = 'good'; self.owner.addChild(sce...
来源: Laya_社区 发布时间: 20220506
....Loader.getRes("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")); //从场景获取球型精灵 this.sphere = scene.getChildByName("Sphere"); //获取球型精灵自带的BlinnPhong材质 billinMaterial = this.sphere.meshRenderer.material; ``` > 拿到材质之后,我们可以修...
来源: Laya2.0_文档 发布时间: 20210715
...果很好) 质量 85 是否压缩 JSON 后缀 json,atlas,ls,lh,lmat,lav 是否压缩混淆 JS (耗时) 是否启用版本管理,启用后,会重命名变化的文件(如何用) 复制文件列表 需要复制的文件及文件夹,相对于源根目录,用分号...
来源: Laya_社区 发布时间: 20180719
...: Unity的网格渲染属性 LayaAir是否支持导出的说明 Materials(材质) 支持(包括:Size大小、Element材质球元素) Lightmap Static( 静态光照贴图) 部分支持(包括:Lightmaps贴图(Baked Lightmap烘焙光照贴图(Lightmap Index、Tiling X、Tiling Y...
来源: Laya3.0_文档 发布时间: 20251010
...(Loader.getRes("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")) as Scene3D; //从场景获取球型精灵 sphere = scene.getChildByName("Sphere") as MeshSprite3D; //获取球型精灵自带的BlinnPhong材质 billinMaterial = sphere.meshRenderer.material; ``` > 拿到材质之后,...
来源: Laya2.0_文档 发布时间: 20210715
....Loader.getRes("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")) as Laya.Scene3D; //从场景获取球型精灵 this.sphere = scene.getChildByName("Sphere") as Laya.MeshSprite3D; //获取球型精灵自带的BlinnPhong材质 this.billinMaterial = this.sphere.meshRenderer.material; ``...
来源: Laya2.0_文档 发布时间: 20210715
...置好远程资源地址,除了图片资源加载不到以外,其他JSON,ls,lh都正常,ktx格式纹理资源在构建发布的时候正常发布,目录中有,也放在远程地址上了.不清楚是不是少了什么设置,找了下官方文档和论坛没找到,只能问问各位大佬,是不是...
来源: Laya_社区 发布时间: 20250925
...Scene: Laya.Scene3D; private sMapRes = "remote/model/res/Conventional/map1.ls" private sBullRes = "remote/model/res/Conventional/bull.lh" private sEnemyRes = "remote/model/res/Conventional/man_1.lh" constructor() { super(); let self = this; Util3d.loadRes( [ this.sMapRes, this.sBullRes, this.sEnemyR...
来源: Laya_社区 发布时间: 20200720
...aps、txt、zip、tt、map、ogg、silk、dbbin、dbmv、etc、lmat、lm、ls、lh、lani、lav、lsani、ltc。 #### 2、为什么游戏在一些机型上边缘有锯齿? 在微信7.0.3之前的版本之前,微信会强制把Canvas画布拉伸到屏幕物理尺寸来进行全屏适配,而7.0....
来源: Laya2.0_文档 发布时间: 20210715
... 与 libs目录: 项目代码和引擎库。 resources目录 与 Scene.ls: resources资源目录和场景文件Scene.ls,小游戏由于初始包的限制,建议将初始包的内容在规划好,最好能放到统一的目录下,便于初始包的剥离。 game.js: 微信小游戏的入...
来源: Laya3.0_文档 发布时间: 20251010