public static string GetNameFromObject(Object o, Type type) { var name = GlTF_Writer.GetNameFromObject(o); var typeName = type == Type.Vertex ? "vertex" : "fragment"; return(typeName + "_" + name); }
public static string GetNameFromObject(Object o) { //return "node_" + GlTF_Writer.GetNameFromObject(o, true); return(GlTF_Writer.GetNameFromObject(o, true)); }
public static string GetNameFromObject(Object o) { return("image_" + GlTF_Writer.GetNameFromObject(o, true)); }
public static string GetNameFromObject(Object o, int index) { return("primitive_" + index + "_" + GlTF_Writer.GetNameFromObject(o, true)); }
public static string GetNameFromObject(Object o, string name) { return("accessor_" + name + "_" + GlTF_Writer.GetNameFromObject(o, true)); }
public static string GetNameFromObject(Object o) { return("program_" + GlTF_Writer.GetNameFromObject(o)); }
public static string GetNameFromObject(Object o) { return("technique_" + GlTF_Writer.GetNameFromObject(o)); }