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.ObjectMapping 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 voiddelete()static longgetCPtr(Object3DGeneric.MaterialMapData obj)longgetMatId()material that is used for these triangleslonggetSize()number of triangles from startIdx that use this materiallonggetStartIdx()the start index of the trianglesvoidsetMatId(long value)material that is used for these trianglesvoidsetSize(long value)number of triangles from startIdx that use this materialvoidsetStartIdx(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
-
-