Class CameraKeyframeManager

  • All Implemented Interfaces:
    IObserver

    public class CameraKeyframeManager
    extends java.lang.Object
    implements IObserver
    • Constructor Detail

      • CameraKeyframeManager

        public CameraKeyframeManager()
    • Method Detail

      • initialize

        public static void initialize()
      • loadKeyframesFile

        public com.badlogic.gdx.utils.Array<Keyframe> loadKeyframesFile​(java.io.File file)
                                                                 throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • saveKeyframesFile

        public void saveKeyframesFile​(com.badlogic.gdx.utils.Array<Keyframe> keyframes,
                                      java.lang.String fileName)
      • samplePaths

        public double[] samplePaths​(com.badlogic.gdx.utils.Array<com.badlogic.gdx.utils.Array<Vector3d>> pointsSep,
                                    double[] points,
                                    int samplesPerSegment,
                                    CameraKeyframeManager.PathType pathType)
      • exportKeyframesFile

        public void exportKeyframesFile​(com.badlogic.gdx.utils.Array<Keyframe> keyframes,
                                        java.lang.String fileName)
      • notify

        public void notify​(Events event,
                           java.lang.Object... data)
        Specified by:
        notify in interface IObserver