Classes | Defines | Enumerations

CC3TargettingNode.h File Reference

#import "CC3Node.h"

Classes

class  CC3DirectionalRotator
 This CC3Rotator subclass adds the ability to set rotation based on directional information. More...
class  CC3LightTracker
 CC3LightTracker is a specialized CC3TargettingNode that tracks a target and automatically updates its own globalLightLocation property from the globalLocation property of the target. More...
class  CC3Node(CC3TargettingNode)
class  CC3TargettingNode
 This is a node class representing a 3D model node that can be pointed in a particular direction, or at another node. More...

Defines

#define kCC3MatrixIsDirtyByDirection   11
#define kCC3VectorInitialForwardDirection   kCC3VectorUnitZNegative
#define kCC3VectorInitialRightDirection   kCC3VectorUnitXPositive
#define kCC3VectorInitialUpDirection   kCC3VectorUnitYPositive

Enumerations

enum  CC3TargettingAxisRestriction { kCC3TargettingAxisRestrictionNone, kCC3TargettingAxisRestrictionXAxis, kCC3TargettingAxisRestrictionYAxis, kCC3TargettingAxisRestrictionZAxis }

Detailed Description


Define Documentation

#define kCC3MatrixIsDirtyByDirection   11

Constants used by matrixIsDirtyBy to indicate why the transform matrix is dirty.

#define kCC3VectorInitialForwardDirection   kCC3VectorUnitZNegative

The OpenGL ES standard initial "forward" direction for unrotated objects.

#define kCC3VectorInitialRightDirection   kCC3VectorUnitXPositive

The OpenGL ES standard initial "right" direction for unrotated objects.

#define kCC3VectorInitialUpDirection   kCC3VectorUnitYPositive

The OpenGL ES standard initial "up" direction for unrotated objects.


Enumeration Type Documentation

Enumeration of options for restricting rotation of a CC3TargettingNode to rotate only around a single axis when attempting to point at a target node or targetLocation.

Enumerator:
kCC3TargettingAxisRestrictionNone 

Don't restrict targetting rotations.

kCC3TargettingAxisRestrictionXAxis 

Only rotate around the X-axis.

kCC3TargettingAxisRestrictionYAxis 

Only rotate around the Y-axis.

kCC3TargettingAxisRestrictionZAxis 

Only rotate around the Z-axis.