gestalt.shape
Class Mesh
java.lang.Object
gestalt.shape.AbstractShape
gestalt.shape.Mesh
- All Implemented Interfaces:
- Disposable, Drawable, java.io.Serializable
- Direct Known Subclasses:
- JoglMesh
public abstract class Mesh
- extends AbstractShape
- implements Disposable
- See Also:
- Serialized Form
|
Constructor Summary |
Mesh(float[] theVertices,
int theVertexComponents,
float[] theColors,
int theColorComponents,
float[] theTexCoords,
int theTexCoordComponents,
float[] theNormals,
int thePrimitive)
|
| Methods inherited from class gestalt.shape.AbstractShape |
add, getSortData, getSortValue, getTransformMode, isActive, isSortable, material, position, position, position, position, rotation, rotation, scale, scale, scale, setActive, setChildContainer, setMaterialRef, setPositionRef, setRotationRef, setScaleRef, setSortValue, setTransformMode, setTransformRef, transform |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gestalt.render.Drawable |
draw |
Mesh
public Mesh(float[] theVertices,
int theVertexComponents,
float[] theColors,
int theColorComponents,
float[] theTexCoords,
int theTexCoordComponents,
float[] theNormals,
int thePrimitive)
setPrimitive
public abstract void setPrimitive(int theGestaltPrimitive)
getPrimitive
public abstract int getPrimitive()
updateData
public abstract void updateData()
vertices
public float[] vertices()
colors
public float[] colors()
normals
public float[] normals()
texcoords
public float[] texcoords()
setStart
public void setStart(int theStart)
- Deprecated.
setLength
public void setLength(int theLength)
- Deprecated.
getStart
public int getStart()
- Deprecated.
getLength
public int getLength()
- Deprecated.
drawstart
public void drawstart(int theStart)
drawlength
public void drawlength(int theLength)
drawstart
public int drawstart()
drawlength
public int drawlength()
atomcount
public int atomcount()
getNumberOfColorComponents
public int getNumberOfColorComponents()
getNumberOfVertexComponents
public int getNumberOfVertexComponents()
getNumberOfTexCoordComponents
public int getNumberOfTexCoordComponents()
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009