public class TranslationAnimator extends AbstractTransformAnimator
| Constructor and Description |
|---|
TranslationAnimator(AffineTransform3D transformStart,
double[] targetTranslation,
long duration) |
| Modifier and Type | Method and Description |
|---|---|
AffineTransform3D |
get(double t)
Returns an
AffineTransform3D for the specified completion factor. |
getCurrentisComplete, ratioComplete, setTimepublic TranslationAnimator(AffineTransform3D transformStart, double[] targetTranslation, long duration)
public AffineTransform3D get(double t)
AbstractTransformAnimatorAffineTransform3D for the specified completion factor.
For values below 0, that starting transform should be returned. For
values larger than 1, the final transform should be returned. Values
below 0 and 1 should interpolate between the two, depending on the
concrete animation implementation.get in class AbstractTransformAnimatort - the completion factor, ranging from 0 to 1.Copyright © 2015–2021 Fiji. All rights reserved.