org.jagatoo.loaders.models.collada.datastructs.geometries
Class PolygonsGeometry
java.lang.Object
org.jagatoo.loaders.models.collada.datastructs.geometries.Geometry
org.jagatoo.loaders.models.collada.datastructs.geometries.PolygonsGeometry
public class PolygonsGeometry
- extends Geometry
COLLADA Polygons Geometry contains geometry loaded from a COLLADA
file which has the "polygon" format
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolygonsGeometry
public PolygonsGeometry(AssetFolder file,
java.lang.String id,
java.lang.String name,
int polygonCount,
XMLGeometry geometry)
- Creates a new COLLADA Polygons Geometry.
- Parameters:
file - The given AssetFolder to load fromid - name - polygonCount - The number of polygons that should be
in that PolygonsGeometrygeometry - the geometry
getPolygons
public final Mesh[] getPolygons()
- Returns:
- the polygons.
copy
public PolygonsGeometry copy()
- Specified by:
copy in class Geometry
- Returns:
- a shared copy of this Geometry.
(The sources are shared.)