KudanAR - iOS  1.6.0
<ARAnimationDelegate> Protocol Reference

#import <ARModelNode.h>

Inherits <NSObject>.

Instance Methods

(void) - animationDidFinish:
 
(void) - animationDidRender:time:
 

Detailed Description

A delegate for animation related events. Add this as a delegate receive messages each frame the animation renders and when the animation finishes.

Method Documentation

◆ animationDidFinish:

- (void) animationDidFinish: (ARModelNode *)  modelNode
optional

Event method called when the animation attached to this model finishes.

Parameters
modelNodeReference to this model node, the one the animation is attached to.

◆ animationDidRender:time:

- (void) animationDidRender: (ARModelNode *)  modelNode
time: (NSTimeInterval)  time 
optional

Event method called each frame the animation attached to this model renders.

Parameters
modelNodeReference to this model node, the one the animation is attached to.
timeThe amount of time, in seconds, since the start of the animation.

The documentation for this protocol was generated from the following file: