Package gaiasky.desktop.util.camera
Class CameraKeyframeManager
java.lang.Object
gaiasky.desktop.util.camera.CameraKeyframeManager
- All Implemented Interfaces:
IObserver
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexportKeyframesFile(com.badlogic.gdx.utils.Array<Keyframe> keyframes, String fileName)static voidcom.badlogic.gdx.utils.Array<Keyframe>loadKeyframesFile(Path file)voidEvent notification call.double[]samplePaths(com.badlogic.gdx.utils.Array<com.badlogic.gdx.utils.Array<Vector3d>> pointsSep, double[] points, int samplesPerSegment, CameraKeyframeManager.PathType pathType)voidsaveKeyframesFile(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
Description copied from interface:IObserverEvent notification call.
-