public class Geometry extends HasAppearance implements ModelComponentGenerator<RigidMeshComp>
Constructor and Description |
---|
Geometry() |
Modifier and Type | Method and Description |
---|---|
Geometry |
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.
|
Vector3d |
getScaleFactors() |
java.lang.String |
getSocketFrame() |
void |
setScaleFactors(Vector3d scale) |
void |
setSocketFrame(java.lang.String path) |
createRenderProps, getAppearance, setAppearance
public java.lang.String getSocketFrame()
public void setSocketFrame(java.lang.String path)
public Vector3d getScaleFactors()
public void setScaleFactors(Vector3d scale)
public Geometry clone()
clone
in interface Clonable
clone
in class HasAppearance
public RigidMeshComp createComponent(java.io.File geometryPath, ModelComponentMap componentMap)
createComponent
in interface ModelComponentGenerator<RigidMeshComp>
geometryPath
- path to search for geometry filescomponentMap
- map for looking up other objects