openspace.keyframeRecording
Functions overview
Name |
Documentation |
---|---|
Adds a keyframe at the specified sequence-time |
|
Adds a keyframe at the specified sequence-time |
|
Loads a sequence from the specified file |
|
Move keyframe of |
|
Starts a new sequence of keyframes, any previously loaded sequence is discarded |
|
Pauses a playing sequence |
|
Playback sequence optionally from the specified |
|
Removes a keyframe at the specified 0-based index |
|
Saves the current sequence of keyframes to disk by the optionally specified |
|
Update the camera position at keyframe specified by the 0-based index |
Functions
addCameraKeyframe
Adds a keyframe at the specified sequence-time
sequenceTime
Number
Return type: void
openspace.keyframeRecording.addCameraKeyframe(sequenceTime)
addScriptKeyframe
Adds a keyframe at the specified sequence-time
sequenceTime
Number
script
String
Return type: void
openspace.keyframeRecording.addScriptKeyframe(sequenceTime, script)
keyframes
Return type: Table[]
openspace.keyframeRecording.keyframes()
loadSequence
Loads a sequence from the specified file
filename
Path
Return type: void
openspace.keyframeRecording.loadSequence(filename)
moveKeyframe
Move keyframe of index
to the new specified sequenceTime
index
Integer
sequenceTime
Number
Return type: void
openspace.keyframeRecording.moveKeyframe(index, sequenceTime)
newSequence
Starts a new sequence of keyframes, any previously loaded sequence is discarded
Return type: void
openspace.keyframeRecording.newSequence()
pause
Pauses a playing sequence
Return type: void
openspace.keyframeRecording.pause()
play
Playback sequence optionally from the specified sequenceTime
or if not specified starts playing from the current time set within the sequence
sequenceTime
Number?
Return type: void
openspace.keyframeRecording.play(sequenceTime)
removeKeyframe
Removes a keyframe at the specified 0-based index
index
Integer
Return type: void
openspace.keyframeRecording.removeKeyframe(index)
saveSequence
Saves the current sequence of keyframes to disk by the optionally specified filename
.
filename
Path
Return type: void
openspace.keyframeRecording.saveSequence(filename)
updateKeyframe
Update the camera position at keyframe specified by the 0-based index
index
Integer
Return type: void
openspace.keyframeRecording.updateKeyframe(index)