Package gaiasky.desktop.util.camera
Class CameraKeyframeManager
- java.lang.Object
-
- gaiasky.desktop.util.camera.CameraKeyframeManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CameraKeyframeManager.PathType
-
Field Summary
Fields Modifier and Type Field Description static CameraKeyframeManager
instance
Singleton
-
Constructor Summary
Constructors Constructor Description CameraKeyframeManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exportKeyframesFile(com.badlogic.gdx.utils.Array<Keyframe> keyframes, java.lang.String fileName)
static void
initialize()
com.badlogic.gdx.utils.Array<Keyframe>
loadKeyframesFile(java.nio.file.Path file)
void
notify(Events event, java.lang.Object... data)
double[]
samplePaths(com.badlogic.gdx.utils.Array<com.badlogic.gdx.utils.Array<Vector3d>> pointsSep, double[] points, int samplesPerSegment, CameraKeyframeManager.PathType pathType)
void
saveKeyframesFile(com.badlogic.gdx.utils.Array<Keyframe> keyframes, java.lang.String fileName)
-
-
-
Field Detail
-
instance
public static CameraKeyframeManager instance
Singleton
-
-
Method Detail
-
initialize
public static void initialize()
-
loadKeyframesFile
public com.badlogic.gdx.utils.Array<Keyframe> loadKeyframesFile(java.nio.file.Path 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)
-
-