v2.0.2
Classes | Macros | Enumerations
CC3Rotator.h File Reference
#import "CC3Matrix.h"

Classes

class  CC3DirectionalRotator
 
class  CC3MutableRotator
 
class  CC3ReverseDirectionalRotator
 
class  CC3Rotator
 
class  CC3TargettingRotator
 

Macros

#define CC3TargettingAxisRestriction   CC3TargettingConstraint
 

Enumerations

enum  CC3RotationType {
  kCC3RotationTypeUnknown, kCC3RotationTypeEuler, kCC3RotationTypeQuaternion, kCC3RotationTypeAxisAngle,
  kCC3RotationTypeDirection, kCC3RotationTypeLocation
}
 
enum  CC3TargettingConstraint {
  kCC3TargettingConstraintLocalUnconstrained, kCC3TargettingConstraintLocalXAxis, kCC3TargettingConstraintLocalYAxis, kCC3TargettingConstraintLocalZAxis,
  kCC3TargettingConstraintGlobalUnconstrained, kCC3TargettingConstraintGlobalXAxis, kCC3TargettingConstraintGlobalYAxis, kCC3TargettingConstraintGlobalZAxis,
  __deprecated = kCC3TargettingConstraintGlobalUnconstrained, __deprecated = kCC3TargettingConstraintGlobalUnconstrained, __deprecated = kCC3TargettingConstraintGlobalUnconstrained, __deprecated = kCC3TargettingConstraintGlobalUnconstrained
}
 

Macro Definition Documentation

#define CC3TargettingAxisRestriction   CC3TargettingConstraint
Deprecated:
Renamed to CC3TargettingConstraint.

Enumeration Type Documentation

Enumeration of rotation types.

Enumerator
kCC3RotationTypeUnknown 

Unknown rotation type.

kCC3RotationTypeEuler 

Rotation by Euler angles.

kCC3RotationTypeQuaternion 

Rotation by quaternion.

kCC3RotationTypeAxisAngle 

Rotation by angle around arbirary axis.

kCC3RotationTypeDirection 

Rotation by pointing in a specific direction.

kCC3RotationTypeLocation 

Rotation by looking at a particular location.

Enumeration of options for constraining the rotation of a CC3Node when attempting to point at a target node or targetLocation.

Targetting can be constrained to use either local or global coordinates, and can be further constrained to rotate only around a single axis.

Enumerator
kCC3TargettingConstraintLocalUnconstrained 

Rotate around all axes in the local coordinate system.

kCC3TargettingConstraintLocalXAxis 

Rotate only around the X-axis in the local coordinate system.

kCC3TargettingConstraintLocalYAxis 

Rotate only around the Y-axis in the local coordinate system.

kCC3TargettingConstraintLocalZAxis 

Rotate only around the Z-axis in the local coordinate system.

kCC3TargettingConstraintGlobalUnconstrained 

Rotate around all axes in the global coordinate system.

kCC3TargettingConstraintGlobalXAxis 

Rotate only around the X-axis in the global coordinate system.

kCC3TargettingConstraintGlobalYAxis 

Rotate only around the Y-axis in the global coordinate system.

kCC3TargettingConstraintGlobalZAxis 

Rotate only around the Z-axis in the global coordinate system.

__deprecated 
Deprecated:
Renamed to kCC3TargettingConstraintGlobalUnconstrained.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalXAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalYAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalZAxis.
__deprecated 
Deprecated:
Renamed to kCC3TargettingConstraintGlobalUnconstrained.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalXAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalYAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalZAxis.
__deprecated 
Deprecated:
Renamed to kCC3TargettingConstraintGlobalUnconstrained.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalXAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalYAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalZAxis.
__deprecated 
Deprecated:
Renamed to kCC3TargettingConstraintGlobalUnconstrained.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalXAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalYAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalZAxis.