Class Index | File Index

Classes


Class JSC3D.Material

Material This class implements material which describes the feel and look of a mesh.
Defined in: jsc3d.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
JSC3D.Material(name, ambientColor, diffuseColor, transparency, simulateSpecular)
Field Summary
Field Attributes Field Name and Description
 
Name of the material.
Method Summary
Method Attributes Method Name and Description
 
Get the palette of the material used for shadings.
Class Detail
JSC3D.Material(name, ambientColor, diffuseColor, transparency, simulateSpecular)
Parameters:
name
ambientColor
diffuseColor
transparency
simulateSpecular
Field Detail
name
Name of the material.
Method Detail
{Array} getPalette()
Get the palette of the material used for shadings.
Returns:
{Array} palette of the material as an array.

Documentation generated by JsDoc Toolkit 2.1.0 on Thu Nov 20 2014 00:20:57 GMT+0800 (CST)