v2.0.2
Properties | List of all members
CC3NodeUpdatingVisitor Class Reference

#import <CC3NodeVisitor.h>

Inheritance diagram for CC3NodeUpdatingVisitor:
Inheritance graph
[legend]

Properties

CCTime deltaTime
 
- Properties inherited from CC3NodeVisitor
CC3Cameracamera
 
CC3MaterialcurrentMaterial
 
CC3MeshcurrentMesh
 
CC3MeshNodecurrentMeshNode
 
CC3NodecurrentNode
 
CC3ShaderProgramcurrentShaderProgram
 
CC3CameradefaultCamera
 
GLuint lightCount
 
GLuint lightProbeCount
 
CC3PerformanceStatisticsperformanceStatistics
 
CC3Scenescene
 
BOOL shouldVisitChildren
 
CC3NodestartingNode
 
GLuint textureCount
 

Additional Inherited Members

- Instance Methods inherited from CC3NodeVisitor
(CC3TextureUnit *) - currentTextureUnitAt:
 
(NSString *) - fullDescription
 
(CC3Light *) - lightAt:
 
(CC3LightProbe *) - lightProbeAt:
 
(void) - requestRemovalOf:
 
(BOOL) - visit:
 
- Class Methods inherited from CC3NodeVisitor
(id) + visitor
 

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
readwritenonatomicassign

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 CC3Scene instance, the value of this property may be clamped to an upper limit. See the description of the CC3Scene maxUpdateInterval property for more information about clamping the update interval.


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