Interface AnalogListener

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

public interface AnalogListener extends InputListener
AnalogListener is used to receive events of inputs in analog format.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAnalog(String name, float value, float tpf)
    Called to notify the implementation that an analog event has occurred.
  • Method Details

    • onAnalog

      void onAnalog(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.