|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.editor.datamodel.MeshData
public class MeshData
This class represents a mesh in the editor|s data model.
Constructor Summary | |
---|---|
MeshData(java.lang.String path,
java.lang.String name,
java.lang.String tex,
Point3D pos,
Point3D rot,
boolean rotate,
boolean flip,
boolean smooth,
boolean shadow,
BoundingVolume vol)
|
Method Summary | |
---|---|
BoundingVolume |
getBoundingVolumeType()
Returns the type of the bounding volume of the mesh. |
java.lang.String |
getFilePath()
Returns the file path of the mesh file. |
java.lang.String |
getName()
Returns the name of the mesh |
Point3D |
getPosition()
Returns the position of the mesh |
Point3D |
getRotation()
Returns a tuple containing the three rotation values. |
boolean |
getSmooth()
Determines whether or not the mesh needs to be smoothed. |
boolean |
getTexFlip()
Determines whether or not the texture needs to be flipped. |
java.lang.String |
getTexPath()
Returns the path to the texture file |
boolean |
getTexRot()
Determines whether or not the texture needs to be rotated. |
boolean |
isShadowCaster()
Determines whether or not the mesh is a shadow caster. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MeshData(java.lang.String path, java.lang.String name, java.lang.String tex, Point3D pos, Point3D rot, boolean rotate, boolean flip, boolean smooth, boolean shadow, BoundingVolume vol)
Method Detail |
---|
public java.lang.String getFilePath()
public java.lang.String getName()
public java.lang.String getTexPath()
public boolean getTexRot()
public boolean getTexFlip()
public Point3D getPosition()
public Point3D getRotation()
public boolean getSmooth()
public boolean isShadowCaster()
public BoundingVolume getBoundingVolumeType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |