org.jagatoo.loaders.models.ase
Class AseMaterial

java.lang.Object
  extended by org.jagatoo.loaders.models.ase.AseNode
      extended by org.jagatoo.loaders.models.ase.AseMaterial

public class AseMaterial
extends AseNode

This node holds information from a Max ASE Material node.


Field Summary
 org.openmali.vecmath2.Colorf ambient
           
 java.lang.String className
           
 org.openmali.vecmath2.Colorf diffuse
           
 AseMap diffuseMap
           
 java.lang.String fallOff
           
 java.lang.String name
           
 AseMap opacityMap
           
 float selfIllum
           
 java.lang.String shading
           
 float shine
           
 float shineStrength
           
 org.openmali.vecmath2.Colorf specular
           
 java.util.List<AseMaterial> subMaterials
           
 float transparency
           
 float wireSize
           
 float xpFalloff
           
 java.lang.String xpType
           
 
Fields inherited from class org.jagatoo.loaders.models.ase.AseNode
debug, properties
 
Constructor Summary
AseMaterial()
           
 
Method Summary
 void parse(AseReader in)
          Override the default parse method because we are going to parse the entire mesh in thos node, rather than recusing into further node types.
 java.lang.String toString()
           
 
Methods inherited from class org.jagatoo.loaders.models.ase.AseNode
parseProperty, trashBlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

className

public java.lang.String className

name

public java.lang.String name

ambient

public org.openmali.vecmath2.Colorf ambient

diffuse

public org.openmali.vecmath2.Colorf diffuse

specular

public org.openmali.vecmath2.Colorf specular

shine

public float shine

shineStrength

public float shineStrength

transparency

public float transparency

wireSize

public float wireSize

shading

public java.lang.String shading

xpFalloff

public float xpFalloff

selfIllum

public float selfIllum

fallOff

public java.lang.String fallOff

xpType

public java.lang.String xpType

opacityMap

public AseMap opacityMap

diffuseMap

public AseMap diffuseMap

subMaterials

public java.util.List<AseMaterial> subMaterials
Constructor Detail

AseMaterial

public AseMaterial()
Method Detail

parse

public void parse(AseReader in)
Override the default parse method because we are going to parse the entire mesh in thos node, rather than recusing into further node types.

Overrides:
parse in class AseNode

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object