Package org.robwork.sdurw_geometry
Class Object3DGeneric.MaterialPolys
- java.lang.Object
-
- org.robwork.sdurw_geometry.Object3DGeneric.MaterialPolys
-
- Enclosing class:
- Object3DGeneric
public static class Object3DGeneric.MaterialPolys extends java.lang.Object
ordering polygons by material consumes more memmory but reduce switches between
textures. All indices _subFaces share material _matIndex.
-
-
Constructor Summary
Constructors Constructor Description MaterialPolys()
MaterialPolys(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
int
get_matIndex()
the material index shared by all polygons _subPolysSWIGTYPE_p_std__vectorT_rw__geometry__IndexedPolygonNT_uint16_t_t_t
get_subPolys()
Index into the vertice array of the Object3D.
The _subFaces is a subset of _indices from Object3Dstatic long
getCPtr(Object3DGeneric.MaterialPolys obj)
void
set_matIndex(int value)
the material index shared by all polygons _subPolysvoid
set_subPolys(SWIGTYPE_p_std__vectorT_rw__geometry__IndexedPolygonNT_uint16_t_t_t value)
Index into the vertice array of the Object3D.
The _subFaces is a subset of _indices from Object3D
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(Object3DGeneric.MaterialPolys obj)
-
delete
public void delete()
-
set_subPolys
public void set_subPolys(SWIGTYPE_p_std__vectorT_rw__geometry__IndexedPolygonNT_uint16_t_t_t value)
Index into the vertice array of the Object3D.
The _subFaces is a subset of _indices from Object3D
-
get_subPolys
public SWIGTYPE_p_std__vectorT_rw__geometry__IndexedPolygonNT_uint16_t_t_t get_subPolys()
Index into the vertice array of the Object3D.
The _subFaces is a subset of _indices from Object3D
-
set_matIndex
public void set_matIndex(int value)
the material index shared by all polygons _subPolys
-
get_matIndex
public int get_matIndex()
the material index shared by all polygons _subPolys
-
-