|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.cal3d.core.CalMesh
public class CalMesh
The mesh class.
| Field Summary | |
|---|---|
protected CalCoreMesh |
coreMesh
|
protected CalModel |
model
|
protected java.util.List<CalSubmesh> |
submeshes
|
| Constructor Summary | |
|---|---|
CalMesh(CalCoreMesh coreMesh)
Creates a mesh based on a core mesh. |
|
| Method Summary | |
|---|---|
CalCoreMesh |
getCoreMesh()
Provides access to the core mesh. |
CalSubmesh |
getSubmesh(int id)
Provides access to a submesh. |
int |
getSubmeshCount()
Returns the number of submeshes. |
java.util.List<CalSubmesh> |
getSubmeshes()
Returns the submesh vector. |
void |
setLodLevel(float lodLevel)
Sets the LOD level. |
void |
setMaterialSet(java.util.List<CalCoreMaterial> materials)
Sets the material set. |
void |
setMaterialSet(java.lang.String setId)
Sets the material set. |
void |
setModel(CalModel model)
Sets the model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CalModel model
protected CalCoreMesh coreMesh
protected java.util.List<CalSubmesh> submeshes
| Constructor Detail |
|---|
public CalMesh(CalCoreMesh coreMesh)
| Method Detail |
|---|
public CalCoreMesh getCoreMesh()
public CalSubmesh getSubmesh(int id)
id - The ID of the submesh that should be returned.
public int getSubmeshCount()
public java.util.List<CalSubmesh> getSubmeshes()
public void setLodLevel(float lodLevel)
lodLevel - The LOD level in the range [0.0, 1.0].public void setMaterialSet(java.lang.String setId)
setId - The ID of the material set.public void setMaterialSet(java.util.List<CalCoreMaterial> materials)
materials - the materials in ID orderpublic void setModel(CalModel model)
model - The model to which the mesh instance should be attached
to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||