Interface CameraListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface CameraListener
    Notify when an associated camera move or rotate.
    Author:
    Grégory Van den Borre
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void update​(be.yildizgames.common.geometry.Point3D newPos, be.yildizgames.common.geometry.Point3D newDir)
      Notify a camera move or rotation.
    • Method Detail

      • update

        void update​(be.yildizgames.common.geometry.Point3D newPos,
                    be.yildizgames.common.geometry.Point3D newDir)
        Notify a camera move or rotation.
        Parameters:
        newPos - Camera new position.
        newDir - Camera new direction.