Home
last modified time | relevance | path

Searched refs:keyFrame (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/
DTimeLine.java62 public void addKeyFrameAtTime(float time, KeyFrame keyFrame) { in addKeyFrameAtTime() argument
63 addKeyFrameAtIndex(getKeyFrameIndexFromTime(time), keyFrame); in addKeyFrameAtTime() local
66 public void addKeyFrameAtIndex(int keyFrameIndex, KeyFrame keyFrame) { in addKeyFrameAtIndex() argument
67 put(keyFrameIndex, keyFrame); in addKeyFrameAtIndex()
68 keyFrame.setIndex(keyFrameIndex); in addKeyFrameAtIndex()
93 public float getKeyFrameTime(KeyFrame keyFrame) { in getKeyFrameTime() argument
94 return (float)keyFrame.getIndex()/(float)keyFramesPerSeconds; in getKeyFrameTime()
116 KeyFrame keyFrame = (KeyFrame) it.next(); in read() local
117 addKeyFrameAtIndex(keyFrame.getIndex(), keyFrame); in read() local
DCinematic.java209 KeyFrame keyFrame = timeLine.get(i); in onUpdate() local
210 if (keyFrame != null) { in onUpdate()
211 keyFrame.trigger(); in onUpdate()
226 KeyFrame keyFrame = timeLine.get(i); in setTime() local
227 if (keyFrame != null) { in setTime()
228 for (CinematicEvent ce : keyFrame.getCinematicEvents()) { in setTime()
230 ce.setTime(time - timeLine.getKeyFrameTime(keyFrame)); in setTime()
242 KeyFrame keyFrame = timeLine.getKeyFrameAtTime(timeStamp); in addCinematicEvent() local
243 if (keyFrame == null) { in addCinematicEvent()
244 keyFrame = new KeyFrame(); in addCinematicEvent()
[all …]