Home | History | Annotate | Download | only in animation

Lines Matching refs:translations

22      * Translations of the track. 

24 private CompactVector3Array translations;
49 * @param translations
56 public SpatialTrack(float[] times, Vector3f[] translations,
58 setKeyframes(times, translations, rotations, scales);
82 if (translations != null)
83 translations.get(0, tempV);
90 if (translations != null)
91 translations.get(lastFrame, tempV);
108 if (translations != null)
109 translations.get(startFrame, tempV);
115 if (translations != null)
116 translations.get(endFrame, tempV2);
125 if (translations != null)
135 * Set the translations, rotations and scales for this track.
139 * @param translations
146 public void setKeyframes(float[] times, Vector3f[] translations,
153 if (translations != null) {
154 assert times.length == translations.length;
155 this.translations = new CompactVector3Array();
156 this.translations.add(translations);
157 this.translations.freeze();
195 * @return the array of translations of this track
198 return translations == null ? null : translations.toObjectArray();
228 oc.write(translations, "translations", null);
237 translations = (CompactVector3Array) ic.readSavable("translations", null);