Package com.jme3.scene.control
Interface Control
- All Superinterfaces:
- Savable
- All Known Subinterfaces:
- PhysicsControl
- All Known Implementing Classes:
- AbstractControl,- AbstractPhysicsControl,- AbstractPhysicsDebugControl,- AnimComposer,- AnimControl,- BetterCharacterControl,- BillboardControl,- BulletCharacterDebugControl,- BulletGhostObjectDebugControl,- BulletJointDebugControl,- BulletRigidBodyDebugControl,- BulletVehicleDebugControl,- CameraControl,- CharacterControl,- ChaseCamera,- DacConfiguration,- DacLinks,- DynamicAnimControl,- EffectTrack.KillParticleControl,- GhostControl,- KinematicRagdollControl,- LightControl,- LodControl,- MorphControl,- MotionEvent,- MotionTrack,- MultiTerrainLodControl,- NormalRecalcControl,- ParticleEmitter.ParticleEmitterControl,- RigidBodyControl,- SkeletonControl,- SkinningControl,- StatsView,- TerrainGridLodControl,- TerrainLodControl,- UpdateControl,- VehicleControl
An interface for scene-graph controls. 
 
 Controls are used to specify certain update and render logic
 for a Spatial.
- 
Method SummaryModifier and TypeMethodDescriptioncloneForSpatial(Spatial spatial) Deprecated.voidrender(RenderManager rm, ViewPort vp) Should be called prior to queuing the spatial by the RenderManager.voidsetSpatial(Spatial spatial) voidupdate(float tpf) Updates the control.
- 
Method Details- 
cloneForSpatialCreates a clone of the Control, the given Spatial is the cloned version of the spatial to which this control is attached to.- Parameters:
- spatial- the Spatial to be controlled by the clone
- Returns:
- A clone of this control for the spatial
 
- 
setSpatial- Parameters:
- spatial- the spatial to be controlled. This should not be called from user code.
 
- 
updatevoid update(float tpf) Updates the control. This should not be called from user code.- Parameters:
- tpf- Time per frame.
 
- 
renderShould be called prior to queuing the spatial by the RenderManager. This should not be called from user code.- Parameters:
- rm- the caller (not null)
- vp- the relevant ViewPort (not null)
 
 
- 
JmeCloneable.cloneFields(com.jme3.util.clone.Cloner, java.lang.Object)