Maven module :un.storage : model3d-mmd :
Class : un.storage.model3d.mmd.pmd.PMDMaterial
Extends/Implements : -
Subclasses : -

author  Johann Sorel


Variables : diffuse_RGBA, shinness, specular_RGB, ambiant_RGB, toon, edgeFlags, textureName, indices
Functions : setToDefault, read, write


public float[] diffuse_RGBA

public float shinness

public float[] specular_RGB

public float[] ambiant_RGB


255 : no toon effect, otherwise should be 0-9 : index in toon textures */
public int toon


draw edges */
public int edgeFlags


Texture name, may contain multiple texture separate by '*' .
public Chars textureName


face indexes affect by this material. */
public int[] indices


public void setToDefault ()

public void read (DataInputStream ds)

public void write (DataOutputStream ds)