MaplyQuadImageFrameAnimator
Objective-C
@interface MaplyQuadImageFrameAnimator : MaplyActiveObject
Swift
class MaplyQuadImageFrameAnimator : MaplyActiveObject
Quad Image FrameAnimation runs through the frames in a Quad Image Frame loader over time.
Set this up with a MaplyQuadImageFrameLoader and it’ll run through the available frames from start to finish. At the end it will snap back to the beginning.
-
Initialize with the image frame loader and view controller
Declaration
Objective-C
- (nonnull instancetype) initWithFrameLoader:(MaplyQuadImageFrameLoader *_Nonnull)loader viewC:(MaplyBaseViewController *_Nonnull)viewC;Swift
init(frameLoader loader: MaplyQuadImageFrameLoader, viewC: MaplyBaseViewController) -
How long to animate from start to finish.
Declaration
Objective-C
@property (nonatomic) NSTimeInterval period;Swift
var period: TimeInterval { get set } -
How long to pause at the end of the sequence before starting back
Declaration
Objective-C
@property (nonatomic) NSTimeInterval pauseLength;Swift
var pauseLength: TimeInterval { get set } -
Remove the animator and stop animating
Declaration
Objective-C
- (void)shutdown;Swift
func shutdown()
MaplyQuadImageFrameAnimator Class Reference