示例#1
0
        public static string GetNameFromObject(Object o, Type type)
        {
            var name     = GlTF_Writer.GetNameFromObject(o);
            var typeName = type == Type.Vertex ? "vertex" : "fragment";

            return(typeName + "_" + name);
        }
示例#2
0
 public static string GetNameFromObject(Object o)
 {
     //return "node_" + GlTF_Writer.GetNameFromObject(o, true);
     return(GlTF_Writer.GetNameFromObject(o, true));
 }
示例#3
0
 public static string GetNameFromObject(Object o)
 {
     return("image_" + GlTF_Writer.GetNameFromObject(o, true));
 }
示例#4
0
 public static string GetNameFromObject(Object o, int index)
 {
     return("primitive_" + index + "_" + GlTF_Writer.GetNameFromObject(o, true));
 }
示例#5
0
 public static string GetNameFromObject(Object o, string name)
 {
     return("accessor_" + name + "_" + GlTF_Writer.GetNameFromObject(o, true));
 }
示例#6
0
 public static string GetNameFromObject(Object o)
 {
     return("program_" + GlTF_Writer.GetNameFromObject(o));
 }
示例#7
0
 public static string GetNameFromObject(Object o)
 {
     return("technique_" + GlTF_Writer.GetNameFromObject(o));
 }