public class MeshDesc extends Object
Meshes can be assigned to objects using resource handles. For details, see ResourceManager.
| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
MeshDesc.PrimitiveDesc |
Describes properties of a primitive used in a mesh.
|
| 构造器 | 说明 |
|---|---|
MeshDesc() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
BoundingBox |
getBounds() |
Obtains a bounding box that contains this mesh.
|
MeshDesc.PrimitiveDesc[] |
getPrimitives() |
Obtains primitives of this mesh.
|
void |
setBounds(BoundingBox bounds) |
Sets a bounding box that contains this mesh.
|
void |
setPrimitives(MeshDesc.PrimitiveDesc[] primitives) |
Sets primitives for this mesh.
|
public MeshDesc.PrimitiveDesc[] getPrimitives()
public void setPrimitives(MeshDesc.PrimitiveDesc[] primitives)
primitives - Indicates the primitives to set.public BoundingBox getBounds()
public void setBounds(BoundingBox bounds)
bounds - Indicates the bounding box to set.