public interface Control extends Savable
 Controls are used to specify certain update and render logic
 for a Spatial.
| Modifier and Type | Method and Description | 
|---|---|
Control | 
cloneForSpatial(Spatial spatial)
 | 
void | 
render(RenderManager rm,
      ViewPort vp)
Should be called prior to queuing the spatial by the RenderManager. 
 | 
void | 
setSpatial(Spatial spatial)  | 
void | 
update(float tpf)
Updates the control. 
 | 
@Deprecated Control cloneForSpatial(Spatial spatial)
spatial - the Spatial to be controlled by the clonevoid setSpatial(Spatial spatial)
spatial - the spatial to be controlled. This should not be called
 from user code.void update(float tpf)
tpf - Time per frame.void render(RenderManager rm, ViewPort vp)
rm - the caller (not null)vp - the relevant ViewPort (not null)