大约有 2 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0013 秒)
...3D) { var meshSprite = spirit3D; for (var i = 0; i < meshSprite.meshRender.sharedMaterials.length; i++) { var mat = meshSprite.meshRender.sharedMaterials[i]; mat.disableLight(); } } for (var i = 0; i < spirit3D._childs.length; i++) setMaterials(spirit3D._childs[i]); }class RenderTextureDemo { privat...
来源: Laya_示例 发布时间: 20241119
...s[3] = customMaterial4; dude.getChildAt(0).getChildAt(0).skinnedMeshRender.sharedMaterials = baseMaterials; dude.transform.position = new Laya.Vector3(0, 0.5, 0); }); var earth = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh(0.5, 128, 128))); var customMaterial = new CustomMaterial(); cus...
来源: Laya_示例 发布时间: 20241119