Properties

CC3NodeUpdatingVisitor Class Reference

CC3NodeUpdatingVisitor is a CC3NodeVisitor that is passed to a node when it is visited during updating and transforming operations. More...

#import <CC3NodeVisitor.h>

Inheritance diagram for CC3NodeUpdatingVisitor:
Inheritance graph
[legend]
Collaboration diagram for CC3NodeUpdatingVisitor:
Collaboration graph
[legend]

List of all members.

Properties

ccTime deltaTime

Detailed Description

CC3NodeUpdatingVisitor is a CC3NodeVisitor that is passed to a node when it is visited during updating and transforming operations.

This visitor encapsulates the time since the previous update.


Property Documentation

- (ccTime) deltaTime [read, write, assign]

This property gives the interval, in seconds, since the previous update.

This value can be used to create realistic real-time motion that is independent of specific frame or update rates. Depending on the setting of the maxUpdateInterval property of the CC3World instance, the value of this property may be clamped to an upper limit. See the description of the CC3World maxUpdateInterval property for more information about clamping the update interval.


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