com.jme3.input.controls
Interface AnalogListener

All Superinterfaces:
InputListener
All Known Implementing Classes:
ChaseCamera, FlyByCamera

public interface AnalogListener
extends InputListener

AnalogListener is used to receive events of inputs in analog format.


Method Summary
 void onAnalog(java.lang.String name, float value, float tpf)
          Called to notify the implementation that an analog event has occurred.
 

Method Detail

onAnalog

void onAnalog(java.lang.String name,
              float value,
              float tpf)
Called to notify the implementation that an analog event has occurred. The results of KeyTrigger and MouseButtonTrigger events will have tpf == value.

Parameters:
name - The name of the mapping that was invoked
value - Value of the axis, from 0 to 1.
tpf - The time per frame value.