mri.v3ds
Class Material3ds

java.lang.Object
  extended by mri.v3ds.Material3ds

public class Material3ds
extends java.lang.Object

Material definition. Only the material name is loaded from the 3ds-file.


Constructor Summary
Material3ds()
           
 
Method Summary
 Color3ds ambient()
          Get ambient color.
 Color3ds diffuse()
          Get diffuse color.
 java.lang.String mapName()
          Get material filename.
 java.lang.String name()
          Get material name.
 Color3ds specular()
          Get specular color.
 float transparency()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Material3ds

public Material3ds()
Method Detail

name

public java.lang.String name()
Get material name.

Returns:
material name

mapName

public java.lang.String mapName()
Get material filename.

Returns:
material filename

diffuse

public Color3ds diffuse()
Get diffuse color.

Returns:
material diffuse color

ambient

public Color3ds ambient()
Get ambient color.

Returns:
material ambient color

specular

public Color3ds specular()
Get specular color.

Returns:
material specular color

transparency

public float transparency()