public interface HasSurfaceMesh
Modifier and Type | Method and Description |
---|---|
PolygonalMesh |
getSurfaceMesh()
Returns the surface mesh associated with this component, or
null if no mesh exists. |
PolygonalMesh[] |
getSurfaceMeshes()
Returns an array listing all the (non-null) surface meshes associated
with this component, or a zero-length array if there are none.
|
int |
numSurfaceMeshes()
Returns the number of surfaces meshes associated with this
component, or 0 if no meshes exist.
|
PolygonalMesh getSurfaceMesh()
null
if no mesh exists. If multiple surface
meshes exist, this should be first one in the array returned
by getSurfaceMeshes()
.int numSurfaceMeshes()
getSurfaceMesh()
returns null
, then this method should return 0.PolygonalMesh[] getSurfaceMeshes()
getSurfaceMesh()
returns null
, then a
zero-length array should be returned.