vis/animation/animators/
mggrrotateanimator__define.pro
Rotate animator.
Class description for mggrrotateanimator
Inheritance
Properties
Properties in mggrrotateanimator
- _extra init
- angle init
degrees to rotate
- axis init
axis to rotate about
Routines
Methods inherited from mggranimator
mggranimator::getProperty, target=target, duration=duration, nframes=nframes, easing=easing
mggranimator::animate, progress
mggranimator::setProperty, target=target, duration=duration, nframes=nframes, easing=easing
mggranimator::reset
result = mggranimator::init(target=target, duration=duration, nframes=nframes, easing=easing)
mggranimator::cleanup
Routines from mggrrotateanimator__define.pro
mggrrotateanimator::animate, progress
Do the transition.
result = mggrrotateanimator::init( [angle=float] [, axis=fltarr(3)] [, _extra=keywords])
Create a rotate animator.
mggrrotateanimator__define
Define instance variables.
Routine details
top mggrrotateanimator::animate
mggrrotateanimator::animate, progress
Do the transition.
Parameters
- progress in required type=float
progress of the transition, 0 to 1
top mggrrotateanimator::init
result = mggrrotateanimator::init( [angle=float] [, axis=fltarr(3)] [, _extra=keywords])
Create a rotate animator.
Return value
1 for success, 0 for failure
Keywords
- angle in optional type=float
degrees to rotate
- axis in optional type=fltarr(3) default=[1, 0, 0]
axis to rotate about
- _extra in optional type=keywords
keyword to
MGgrAnimator::init
File attributes
Modification date: | Wed May 14 15:07:14 2014 |
Lines: | 21 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.