Package gaiasky.desktop.util.camera
Class CameraKeyframeManager
java.lang.Object
gaiasky.desktop.util.camera.CameraKeyframeManager
- All Implemented Interfaces:
IObserver
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exportKeyframesFile(com.badlogic.gdx.utils.Array<Keyframe> keyframes, String fileName)
static void
com.badlogic.gdx.utils.Array<Keyframe>
loadKeyframesFile(Path file)
void
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, String fileName)
-
Field Details
-
instance
Singleton
-
-
Constructor Details
-
CameraKeyframeManager
public CameraKeyframeManager()
-
-
Method Details
-
initialize
public static void initialize() -
loadKeyframesFile
- Throws:
RuntimeException
-
saveKeyframesFile
-
samplePaths
public double[] samplePaths(com.badlogic.gdx.utils.Array<com.badlogic.gdx.utils.Array<Vector3d>> pointsSep, double[] points, int samplesPerSegment, CameraKeyframeManager.PathType pathType) -
exportKeyframesFile
-
notify
-