public class MorphControl extends AbstractControl implements Savable
enabled, spatial
Constructor and Description |
---|
MorphControl() |
Modifier and Type | Method and Description |
---|---|
protected void |
controlRender(RenderManager rm,
ViewPort vp)
To be implemented in subclass.
|
protected void |
controlUpdate(float tpf)
To be implemented in subclass.
|
boolean |
isApproximateTangents() |
void |
setApproximateTangents(boolean approximateTangents) |
cloneFields, cloneForSpatial, getSpatial, isEnabled, jmeClone, read, render, setEnabled, setSpatial, update, write
protected void controlUpdate(float tpf)
AbstractControl
controlUpdate
in class AbstractControl
tpf
- time per frame (in seconds)protected void controlRender(RenderManager rm, ViewPort vp)
AbstractControl
controlRender
in class AbstractControl
rm
- the RenderManager rendering the controlled Spatial (not null)vp
- the ViewPort being rendered (not null)public void setApproximateTangents(boolean approximateTangents)
public boolean isApproximateTangents()