Home | History | Annotate | Download | only in animation

Lines Matching defs:scales

58     private CompactVector3Array scales;
85 * @param scales the scale of the bone for each frame
87 public BoneTrack(int targetBoneIndex, float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) {
89 this.setKeyframes(times, translations, rotations, scales);
116 * returns the array of scales for this track
120 return scales == null ? null : scales.toObjectArray();
162 * Set the translations, rotations and scales for this bone track
166 * @param scales the scale of the bone for each frame
168 public void setKeyframes(float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) {
170 assert times.length == scales.length;
171 if (scales != null) {
172 this.scales = new CompactVector3Array();
173 this.scales.add(scales);
174 this.scales.freeze();
209 if (scales != null) {
210 scales.get(0, tempS);
215 if (scales != null) {
216 scales.get(lastFrame, tempS);
233 if (scales != null) {
234 scales.get(startFrame, tempS);
238 if (scales != null) {
239 scales.get(endFrame, tempS2);
247 target.blendAnimTransforms(tempV, tempQ, scales != null ? tempS : null, weight);
249 target.setAnimTransforms(tempV, tempQ, scales != null ? tempS : null);
275 Vector3f[] scales = new Vector3f[tablesLength];
279 scales[i] = sourceScales != null ? sourceScales[i].clone() : new Vector3f(1.0f, 1.0f, 1.0f);
283 return new BoneTrack(targetBoneIndex, times, translations, rotations, scales);
293 oc.write(scales, "scales", null);
304 scales = (CompactVector3Array) ic.readSavable("scales", null);