com.jme3.effect
Class ParticleEmitter.ParticleEmitterControl

java.lang.Object
  extended by com.jme3.effect.ParticleEmitter.ParticleEmitterControl
All Implemented Interfaces:
Savable, Control
Enclosing class:
ParticleEmitter

public static class ParticleEmitter.ParticleEmitterControl
extends java.lang.Object
implements Control


Constructor Summary
ParticleEmitter.ParticleEmitterControl()
           
ParticleEmitter.ParticleEmitterControl(ParticleEmitter parentEmitter)
           
 
Method Summary
 Control cloneForSpatial(Spatial spatial)
          Creates a clone of the Control, the given Spatial is the cloned version of the spatial to which this control is attached to.
 boolean isEnabled()
           
 void read(JmeImporter im)
           
 void render(RenderManager rm, ViewPort vp)
          Should be called prior to queuing the spatial by the RenderManager.
 void setEnabled(boolean enabled)
           
 void setSpatial(Spatial spatial)
           
 void update(float tpf)
          Updates the control.
 void write(JmeExporter ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParticleEmitter.ParticleEmitterControl

public ParticleEmitter.ParticleEmitterControl()

ParticleEmitter.ParticleEmitterControl

public ParticleEmitter.ParticleEmitterControl(ParticleEmitter parentEmitter)
Method Detail

cloneForSpatial

public Control cloneForSpatial(Spatial spatial)
Description copied from interface: Control
Creates a clone of the Control, the given Spatial is the cloned version of the spatial to which this control is attached to.

Specified by:
cloneForSpatial in interface Control
Returns:
A clone of this control for the spatial

setSpatial

public void setSpatial(Spatial spatial)
Specified by:
setSpatial in interface Control
Parameters:
spatial - the spatial to be controlled. This should not be called from user code.

setEnabled

public void setEnabled(boolean enabled)

isEnabled

public boolean isEnabled()

update

public void update(float tpf)
Description copied from interface: Control
Updates the control. This should not be called from user code.

Specified by:
update in interface Control
Parameters:
tpf - Time per frame.

render

public void render(RenderManager rm,
                   ViewPort vp)
Description copied from interface: Control
Should be called prior to queuing the spatial by the RenderManager. This should not be called from user code.

Specified by:
render in interface Control

write

public void write(JmeExporter ex)
           throws java.io.IOException
Specified by:
write in interface Savable
Throws:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
Specified by:
read in interface Savable
Throws:
java.io.IOException