summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/VRM/VRM/UniGLTF/Scripts/IO/MeshWithMaterials.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/ThirdParty/VRM/VRM/UniGLTF/Scripts/IO/MeshWithMaterials.cs')
-rw-r--r--Assets/ThirdParty/VRM/VRM/UniGLTF/Scripts/IO/MeshWithMaterials.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Assets/ThirdParty/VRM/VRM/UniGLTF/Scripts/IO/MeshWithMaterials.cs b/Assets/ThirdParty/VRM/VRM/UniGLTF/Scripts/IO/MeshWithMaterials.cs
new file mode 100644
index 00000000..42c2e11d
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRM/UniGLTF/Scripts/IO/MeshWithMaterials.cs
@@ -0,0 +1,15 @@
+using System.Collections.Generic;
+using UnityEngine;
+
+
+namespace UniGLTF
+{
+ public class MeshWithMaterials
+ {
+ public Mesh Mesh;
+ public Material[] Materials;
+
+ // 複数のノードから参照されうる
+ public List<Renderer> Renderers=new List<Renderer>(); // SkinnedMeshRenderer or MeshRenderer
+ }
+}