public abstract class SubMesh
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Material |
material |
Mesh |
mesh |
java.lang.String |
name |
int |
primitiveType |
| Constructor and Description |
|---|
SubMesh(java.lang.String name,
Mesh mesh,
int primitiveType) |
SubMesh(java.lang.String name,
Mesh mesh,
int primitiveType,
Material material) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
getBoundingBox(BoundingBox bbox)
Obtain the
BoundingBox of this SubMesh. |
Mesh |
getMesh() |
void |
setMesh(Mesh mesh) |
public java.lang.String name
public Material material
public int primitiveType
public Mesh mesh
public SubMesh(java.lang.String name,
Mesh mesh,
int primitiveType)
public abstract void getBoundingBox(BoundingBox bbox)
BoundingBox of this SubMesh.bbox - This BoundingBox will be modified so that its contain values that are the bounding box for this SubMesh.public Mesh getMesh()
public void setMesh(Mesh mesh)