Home | History | Annotate | Download | only in tweenengine

Lines Matching refs:targetValues

355 	private final float[] targetValues = new float[combinedAttrsLimit];
475 targetValues[0] = targetValue;
494 targetValues[0] = targetValue1;
495 targetValues[1] = targetValue2;
515 targetValues[0] = targetValue1;
516 targetValues[1] = targetValue2;
517 targetValues[2] = targetValue3;
531 * @param targetValues The target values of the interpolation.
534 public Tween target(float... targetValues) {
535 if (targetValues.length > combinedAttrsLimit) throwCombinedAttrsLimitReached();
536 System.arraycopy(targetValues, 0, this.targetValues, 0, targetValues.length);
554 targetValues[0] = isInitialized() ? targetValue + startValues[0] : targetValue;
573 targetValues[0] = isInitialized() ? targetValue1 + startValues[0] : targetValue1;
574 targetValues[1] = isInitialized() ? targetValue2 + startValues[1] : targetValue2;
594 targetValues[0] = isInitialized() ? targetValue1 + startValues[0] : targetValue1;
595 targetValues[1] = isInitialized() ? targetValue2 + startValues[1] : targetValue2;
596 targetValues[2] = isInitialized() ? targetValue3 + startValues[2] : targetValue3;
609 * @param targetValues The relative target values of the interpolation.
612 public Tween targetRelative(float... targetValues) {
613 if (targetValues.length > combinedAttrsLimit) throwCombinedAttrsLimitReached();
614 for (int i=0; i<targetValues.length; i++) {
615 this.targetValues[i] = isInitialized() ? targetValues[i] + startValues[i] : targetValues[i];
695 * @param targetValues The targets of this waypoint.
698 public Tween waypoint(float... targetValues) {
700 System.arraycopy(targetValues, 0, waypoints, waypointsCnt*targetValues.length, targetValues.length);
752 return targetValues;
805 targetValues[i] += isRelative ? startValues[i] : 0;
813 startValues[i] = targetValues[i];
814 targetValues[i] = tmp;
826 accessor.setValues(target, type, isReverse(lastStep) ? startValues : targetValues);
831 accessor.setValues(target, type, isReverse(lastStep) ? targetValues : startValues);
844 accessor.setValues(target, type, isReverse(step) ? targetValues : startValues);
849 accessor.setValues(target, type, isReverse(step) ? startValues : targetValues);
860 accessorBuffer[i] = startValues[i] + t * (targetValues[i] - startValues[i]);
866 pathBuffer[1+waypointsCnt] = targetValues[i];
891 accessor.setValues(target, type, targetValues);