public class Mesh extends Geometry
| Constructor and Description |
|---|
Mesh() |
| Modifier and Type | Method and Description |
|---|---|
Mesh |
clone() |
RigidMeshComp |
createComponent(java.io.File geometryPath,
ModelComponentMap componentMap)
Will try to add mesh to the appropriate body via the socket_frame first,
and if successful, will return null.
|
MeshBase |
createMesh(java.io.File geometryPath)
Creates a mesh if it exists, transformed by any scale and transform
properties.
|
java.lang.String |
getMeshFile() |
void |
setMeshFile(java.lang.String filename) |
getScaleFactors, getSocketFrame, setScaleFactors, setSocketFramecreateRenderProps, getAppearance, setAppearancepublic java.lang.String getMeshFile()
public void setMeshFile(java.lang.String filename)
public MeshBase createMesh(java.io.File geometryPath)
geometryPath - path in which to search for geometry filespublic RigidMeshComp createComponent(java.io.File geometryPath, ModelComponentMap componentMap)
GeometrycreateComponent in interface ModelComponentGenerator<RigidMeshComp>createComponent in class GeometrygeometryPath - path to search for geometry filescomponentMap - map for looking up other objects