Package org.robwork.sdurw_geometry
Class Object3DGeneric.MaterialMapData
- java.lang.Object
-
- org.robwork.sdurw_geometry.Object3DGeneric.MaterialMapData
-
- Enclosing class:
- Object3DGeneric
public static class Object3DGeneric.MaterialMapData extends java.lang.Object
Mapping from triangles to materials.
-
-
Constructor Summary
Constructors Constructor Description MaterialMapData(long cPtr, boolean cMemoryOwn)
MaterialMapData(long m, long sidx, long s)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(Object3DGeneric.MaterialMapData obj)
long
getMatId()
material that is used for these triangleslong
getSize()
number of triangles from startIdx that use this materiallong
getStartIdx()
the start index of the trianglesvoid
setMatId(long value)
material that is used for these trianglesvoid
setSize(long value)
number of triangles from startIdx that use this materialvoid
setStartIdx(long value)
the start index of the triangles
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(Object3DGeneric.MaterialMapData obj)
-
delete
public void delete()
-
setMatId
public void setMatId(long value)
material that is used for these triangles
-
getMatId
public long getMatId()
material that is used for these triangles
-
setStartIdx
public void setStartIdx(long value)
the start index of the triangles
-
getStartIdx
public long getStartIdx()
the start index of the triangles
-
setSize
public void setSize(long value)
number of triangles from startIdx that use this material
-
getSize
public long getSize()
number of triangles from startIdx that use this material
-
-