Searched refs:defName (Results 1 – 1 of 1) sorted by relevance
115 public Material(AssetManager contentMan, String defName) { in Material() argument116 this((MaterialDef) contentMan.loadAsset(new AssetKey(defName))); in Material()1058 String defName = ic.readString("material_def", null); in read() local1075 if (defName.equalsIgnoreCase("Common/MatDefs/Misc/VertexColor.j3md")) { in read()1078 defName = "Common/MatDefs/Misc/Unshaded.j3md"; in read()1079 } else if (defName.equalsIgnoreCase("Common/MatDefs/Misc/SimpleTextured.j3md") in read()1080 || defName.equalsIgnoreCase("Common/MatDefs/Misc/SolidColor.j3md")) { in read()1082 defName = "Common/MatDefs/Misc/Unshaded.j3md"; in read()1083 } else if (defName.equalsIgnoreCase("Common/MatDefs/Misc/WireColor.j3md")) { in read()1086 defName = "Common/MatDefs/Misc/Unshaded.j3md"; in read()[all …]