Package com.gaia3d.basic.model
Class GaiaMaterial
java.lang.Object
com.gaia3d.basic.model.structure.MaterialStructure
com.gaia3d.basic.model.GaiaMaterial
- All Implemented Interfaces:
Serializable
A class that represents a material of a Gaia object.
It contains the diffuse color, ambient color, specular color, shininess, id, name and textures.
The textures are stored in a LinkedHashMap.
The key is the texture type and the value is the list of textures.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
clone()
void
boolean
boolean
void
saveTextures
(Path imagesTempDir)
-
Constructor Details
-
GaiaMaterial
public GaiaMaterial()
-
-
Method Details
-
isOpaqueMaterial
public boolean isOpaqueMaterial() -
deleteTextures
public void deleteTextures() -
clear
public void clear() -
clone
-
hasTextures
public boolean hasTextures() -
saveTextures
-