Material:Base Object

Materials can't be created with a constructor. To create a material use the addMaterial() function of the Document object.

Properties
none


Constructor

none


Methods

Vec4D color()
Return the base color of the material.


String colorMap()
Return the path of the color texture map.


Vec4D emission()
Return the emissive color of the material.


String rib()
Returns a string which contains all the material properties.


Number shininess()
Return the shininess of the material. This number is between [0,128].


Vec4D specular()
Return the specular color of the material.

© 2001-2006 Martin Wengenmayer. All rights reserved.