|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.loaders.discreet.MaterialData
public class MaterialData
A single set of material information for each triangle mesh.
Material works as a group that consists of a material name from the material library, and then a listing of the number of faces that the material belongs to.
The data represented is
struct { short string material_name int numFaces int[] faceNumbers }
Field Summary | |
---|---|
int[] |
faceList
A listing of each face index this material belongs to |
java.lang.String |
materialName
The name of the material to use from the material library |
int |
numFaces
The number of faces this material node effects |
Constructor Summary | |
---|---|
MaterialData()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String materialName
public int numFaces
public int[] faceList
Constructor Detail |
---|
public MaterialData()
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |