org.jagatoo.loaders.models.collada.stax
Class XMLGeometry

java.lang.Object
  extended by org.jagatoo.loaders.models.collada.stax.XMLGeometry

public class XMLGeometry
extends java.lang.Object

A geometry contained in a COLLADA file. Child of LibraryGeometries.


Field Summary
 XMLAsset asset
           
 java.lang.Object convexMesh
          Convex meshes are unsupported for now.
 java.lang.String id
           
 XMLMesh mesh
           
 java.lang.String name
           
 
Constructor Summary
XMLGeometry()
           
 
Method Summary
 void parse(javax.xml.stream.XMLStreamReader parser)
           
 void parseAttributes(javax.xml.stream.XMLStreamReader parser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

asset

public XMLAsset asset

id

public java.lang.String id

name

public java.lang.String name

mesh

public XMLMesh mesh

convexMesh

public java.lang.Object convexMesh
Convex meshes are unsupported for now. It will stay null after loading even if the file has a convex_mesh. Please use Mesh instead.

Constructor Detail

XMLGeometry

public XMLGeometry()
Method Detail

parseAttributes

public void parseAttributes(javax.xml.stream.XMLStreamReader parser)

parse

public void parse(javax.xml.stream.XMLStreamReader parser)
           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException