org.jagatoo.loaders.models.collada.datastructs.geometries
Class MeshDataInfo

java.lang.Object
  extended by org.jagatoo.loaders.models.collada.datastructs.geometries.MeshDataInfo

public class MeshDataInfo
extends java.lang.Object

This is all the data needed to load correctly a mesh from COLLADA. Used in COLLADALoader.


Field Summary
 int colorOffset
          Color data offset. -1 means there is no normal data
 int maxOffset
          The Maximum offset.
 int normalOffset
          Normal data offset. -1 means there is no normal data
 int[] uvOffsets
          UV data offset. null means there is no normal data.
 int vertexOffset
          Vertex data offset.
 
Constructor Summary
MeshDataInfo()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vertexOffset

public int vertexOffset
Vertex data offset.


normalOffset

public int normalOffset
Normal data offset. -1 means there is no normal data


colorOffset

public int colorOffset
Color data offset. -1 means there is no normal data


uvOffsets

public int[] uvOffsets
UV data offset. null means there is no normal data. It's an array, because we can have several vertex "sets"


maxOffset

public int maxOffset
The Maximum offset. It should be equal to the bigger offset (vertex, normal, color or uv) + 1

Constructor Detail

MeshDataInfo

public MeshDataInfo()