|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.cal3d.core.CalCoreMesh
public class CalCoreMesh
The core mesh class.
| Field Summary | |
|---|---|
java.net.URL |
material
|
protected java.lang.String |
name
|
java.lang.String |
skin
|
protected java.util.Vector<CalCoreSubmesh> |
vectorCoreSubmesh
|
| Constructor Summary | |
|---|---|
CalCoreMesh()
Constructs the core mesh instance. |
|
| Method Summary | |
|---|---|
int |
addAsMorphTarget(CalCoreMesh coreMesh)
Adds a core submesh as a morph target. |
int |
addCoreSubmesh(CalCoreSubmesh coreSubmesh)
Adds a core submesh. |
CalCoreSubmesh |
getCoreSubmesh(int id)
Provides access to a core submesh. |
int |
getCoreSubmeshCount()
Returns the number of core submeshes. |
java.lang.String |
getName()
The mesh's name is mostly used as a resouce handle. |
java.util.Vector<CalCoreSubmesh> |
getVectorCoreSubmesh()
Returns the core submesh vector. |
void |
setName(java.lang.String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
public java.lang.String skin
public java.net.URL material
protected java.util.Vector<CalCoreSubmesh> vectorCoreSubmesh
| Constructor Detail |
|---|
public CalCoreMesh()
| Method Detail |
|---|
public int addCoreSubmesh(CalCoreSubmesh coreSubmesh)
coreSubmesh - A pointer to the core submesh that should be added.
public int addAsMorphTarget(CalCoreMesh coreMesh)
coreMesh - A pointer to the core mesh that shoulb become a blend target.
public CalCoreSubmesh getCoreSubmesh(int id)
id - The ID of the core submesh that should be returned.
public int getCoreSubmeshCount()
public java.util.Vector<CalCoreSubmesh> getVectorCoreSubmesh()
public java.lang.String getName()
public void setName(java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||