Home
last modified time | relevance | path

Searched refs:defaultMaterial (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/blender/com/jme3/asset/
DBlenderKey.java94 protected Material defaultMaterial; field in BlenderKey
338 public void setDefaultMaterial(Material defaultMaterial) { in setDefaultMaterial() argument
339 this.defaultMaterial = defaultMaterial; in setDefaultMaterial()
347 return defaultMaterial; in getDefaultMaterial()
363 oc.write(defaultMaterial, "default-material", null); in write()
381 defaultMaterial = (Material) ic.readSavable("default-material", null); in read()
391 result = prime * result + (defaultMaterial == null ? 0 : defaultMaterial.hashCode()); in hashCode()
424 if (defaultMaterial == null) { in equals()
425 if (other.defaultMaterial != null) { in equals()
428 } else if (!defaultMaterial.equals(other.defaultMaterial)) { in equals()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
DBlenderContext.java624 Material defaultMaterial = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in getDefaultMaterial() local
625 defaultMaterial.setColor("Color", ColorRGBA.DarkGray); in getDefaultMaterial()
626 blenderKey.setDefaultMaterial(defaultMaterial); in getDefaultMaterial()