public class MorphControl extends AbstractControl implements Savable
enabled, spatial| Constructor and Description | 
|---|
MorphControl()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cloneFields(Cloner cloner,
           java.lang.Object original)
Callback from  
Cloner to convert this
 shallow-cloned Control into a deep-cloned one, using the specified Cloner
 and original to resolve copied fields. | 
protected void | 
controlRender(RenderManager rm,
             ViewPort vp)
To be implemented in subclass. 
 | 
protected void | 
controlUpdate(float tpf)
To be implemented in subclass. 
 | 
boolean | 
isApproximateTangents()
Test whether this Control approximates tangents. 
 | 
MorphControl | 
jmeClone()
Create a shallow clone for the JME cloner. 
 | 
void | 
read(JmeImporter importer)
De-serialize this Control from the specified importer, for example when
 loading from a J3O file. 
 | 
void | 
setApproximateTangents(boolean approximateTangents)
Alter whether this Control approximates tangents. 
 | 
void | 
setSpatial(Spatial spatial)  | 
void | 
write(JmeExporter exporter)
Serialize this Control to the specified exporter, for example when saving
 to a J3O file. 
 | 
cloneForSpatial, getSpatial, isEnabled, render, setEnabled, updatepublic void setSpatial(Spatial spatial)
setSpatial in interface ControlsetSpatial in class AbstractControlspatial - the spatial to be controlled. This should not be called
 from user code.protected void controlUpdate(float tpf)
AbstractControlcontrolUpdate in class AbstractControltpf - time per frame (in seconds)protected void controlRender(RenderManager rm, ViewPort vp)
AbstractControlcontrolRender in class AbstractControlrm - the RenderManager rendering the controlled Spatial (not null)vp - the ViewPort being rendered (not null)public void setApproximateTangents(boolean approximateTangents)
approximateTangents - true to approximate tangents, false to get
 them from a VertexBufferpublic boolean isApproximateTangents()
public void cloneFields(Cloner cloner, java.lang.Object original)
Cloner to convert this
 shallow-cloned Control into a deep-cloned one, using the specified Cloner
 and original to resolve copied fields.cloneFields in interface JmeCloneablecloneFields in class AbstractControlcloner - the Cloner that's cloning this Control (not null, modified)original - the instance from which this Control was shallow-cloned
 (not null, unaffected)public MorphControl jmeClone()
jmeClone in interface JmeCloneablejmeClone in class AbstractControlpublic void read(JmeImporter importer) throws java.io.IOException
read in interface Savableread in class AbstractControlimporter - (not null)java.io.IOException - from the importerpublic void write(JmeExporter exporter) throws java.io.IOException
write in interface Savablewrite in class AbstractControlexporter - (not null)java.io.IOException - from the exporter