Package gaiasky.util.camera.rec
Class CameraKeyframeManager
java.lang.Object
gaiasky.util.camera.rec.CameraKeyframeManager
- All Implemented Interfaces:
IObserver
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
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
Event notification call.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
Description copied from interface:IObserver
Event notification call.
-