From cd26109977d0a0355954cab6b332716ed1bae509 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Mon, 10 May 2021 15:58:59 +0900 Subject: [PATCH] Rename --- ...r.cs => Vrm10MToonMaterialTextureImporter.cs} | 2 +- ...=> Vrm10MToonMaterialTextureImporter.cs.meta} | 0 .../Runtime/IO/Texture/Vrm10TextureEnumerator.cs | 16 ++++++++-------- 3 files changed, 9 insertions(+), 9 deletions(-) rename Assets/VRM10/Runtime/IO/Material/{Vrm10MToonMaterialImporter.cs => Vrm10MToonMaterialTextureImporter.cs} (98%) rename Assets/VRM10/Runtime/IO/Material/{Vrm10MToonMaterialImporter.cs.meta => Vrm10MToonMaterialTextureImporter.cs.meta} (100%) diff --git a/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialImporter.cs b/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialTextureImporter.cs similarity index 98% rename from Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialImporter.cs rename to Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialTextureImporter.cs index 9aba6f56b..db30efcd5 100644 --- a/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialImporter.cs +++ b/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialTextureImporter.cs @@ -6,7 +6,7 @@ using VRMShaders; namespace UniVRM10 { - public static class Vrm10MToonMaterialImporter + public static class Vrm10MToonMaterialTextureImporter { public static bool TryGetBaseColorTexture(GltfParser parser, glTFMaterial src, out (SubAssetKey, TextureImportParam) pair) { diff --git a/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialImporter.cs.meta b/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialTextureImporter.cs.meta similarity index 100% rename from Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialImporter.cs.meta rename to Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialTextureImporter.cs.meta diff --git a/Assets/VRM10/Runtime/IO/Texture/Vrm10TextureEnumerator.cs b/Assets/VRM10/Runtime/IO/Texture/Vrm10TextureEnumerator.cs index f2ba0ae2a..69157069a 100644 --- a/Assets/VRM10/Runtime/IO/Texture/Vrm10TextureEnumerator.cs +++ b/Assets/VRM10/Runtime/IO/Texture/Vrm10TextureEnumerator.cs @@ -81,21 +81,21 @@ namespace UniVRM10 if (UniGLTF.Extensions.VRMC_materials_mtoon.GltfDeserializer.TryGet(m.extensions, out var mToon)) { // Enumerate VRM MToon Textures - if (Vrm10MToonMaterialImporter.TryGetBaseColorTexture(parser, m, out var litTex)) + if (Vrm10MToonMaterialTextureImporter.TryGetBaseColorTexture(parser, m, out var litTex)) yield return litTex; - if (Vrm10MToonMaterialImporter.TryGetNormalTexture(parser, m, out var normalTex)) + if (Vrm10MToonMaterialTextureImporter.TryGetNormalTexture(parser, m, out var normalTex)) yield return normalTex; - if (Vrm10MToonMaterialImporter.TryGetShadeMultiplyTexture(parser, mToon, out var shadeTex)) + if (Vrm10MToonMaterialTextureImporter.TryGetShadeMultiplyTexture(parser, mToon, out var shadeTex)) yield return shadeTex; - if (Vrm10MToonMaterialImporter.TryGetShadingShiftTexture(parser, mToon, out var shadeShiftTex)) + if (Vrm10MToonMaterialTextureImporter.TryGetShadingShiftTexture(parser, mToon, out var shadeShiftTex)) yield return shadeShiftTex; - if (Vrm10MToonMaterialImporter.TryGetMatcapTexture(parser, mToon, out var matcapTex)) + if (Vrm10MToonMaterialTextureImporter.TryGetMatcapTexture(parser, mToon, out var matcapTex)) yield return matcapTex; - if (Vrm10MToonMaterialImporter.TryGetRimMultiplyTexture(parser, mToon, out var rimTex)) + if (Vrm10MToonMaterialTextureImporter.TryGetRimMultiplyTexture(parser, mToon, out var rimTex)) yield return rimTex; - if (Vrm10MToonMaterialImporter.TryGetOutlineWidthMultiplyTexture(parser, mToon, out var outlineTex)) + if (Vrm10MToonMaterialTextureImporter.TryGetOutlineWidthMultiplyTexture(parser, mToon, out var outlineTex)) yield return outlineTex; - if (Vrm10MToonMaterialImporter.TryGetUvAnimationMaskTexture(parser, mToon, out var uvAnimMaskTex)) + if (Vrm10MToonMaterialTextureImporter.TryGetUvAnimationMaskTexture(parser, mToon, out var uvAnimMaskTex)) yield return uvAnimMaskTex; } else