cocos3d  2.0.0
Classes | Enumerations
CC3Actions.h File Reference
#import "CC3Node.h"
#import "CCActionEase.h"

Classes

class  CC3ActionRangeLimit
 
class  CC3Animate
 
class  CC3AnimationBlendingFadeTrackTo
 
class  CC3AnimationBlendingSetTrackTo
 
class  CC3AnimationCrossFade
 
class  CC3DisableAnimationTrack
 
class  CC3EnableAnimationTrack
 
class  CC3MoveBy
 
class  CC3MoveDirectionallyBy
 
class  CC3MoveForwardBy
 
class  CC3MoveRightBy
 
class  CC3MoveTo
 
class  CC3MoveUpBy
 
class  CC3Remove
 
class  CC3RotateBy
 
class  CC3RotateByAngle
 
class  CC3RotateTo
 
class  CC3RotateToAngle
 
class  CC3RotateToLookAt
 
class  CC3RotateToLookTowards
 
class  CC3ScaleBy
 
class  CC3ScaleTo
 
class  CC3TintAmbientTo
 
class  CC3TintDiffuseTo
 
class  CC3TintEmissionTo
 
class  CC3TintSpecularTo
 
class  CC3TintTo
 
class  CC3TransformBy
 
class  CC3TransformTo
 
class  CC3TransformVectorAction
 
category  CCAction(CC3)
 

Enumerations

enum  CC3ActionTag {
  kCC3ActionTagAnimation = 314, kCC3ActionTagAnimationBlending, kCC3ActionTagMove, kCC3ActionTagRotation,
  kCC3ActionTagScale, kCC3ActionTagFade, kCC3ActionTagTint, kCC3ActionTagTintAmbient,
  kCC3ActionTagTintDiffuse, kCC3ActionTagTintSpecular, kCC3ActionTagTintEmission
}
 

Enumeration Type Documentation

Constants for use as action tags to identify an action of a particular type on a node.

Assigning a tag to an action allows one type of action on a node to be stopped, while allowing other actions on that node to continue. For instance, a node might be both moving and fading in concurrently. If the movement is altered by a user interaction, it might be desirable to stop the movement action and replace it, without affecting the fade action. Using a tag to identify the movement action allows it to be retrieved and stopped (via stopActionByTag:) without affecting the fade action.

You can use the CC3Node convenience method to stop any existing action on a node with a particular tag, assign the tag to the new action, and run that action instead.

Enumerator
kCC3ActionTagAnimation 

Use for animation that may combine move, rotate, and scale type actions.

kCC3ActionTagAnimationBlending 

Use for changes to animation track blending.

kCC3ActionTagMove 

Use for movement type actions.

kCC3ActionTagRotation 

Use for rotation type actions.

kCC3ActionTagScale 

Use for scaling type actions.

kCC3ActionTagFade 

Use for fading type actions.

kCC3ActionTagTint 

Use for general tinting type actions.

kCC3ActionTagTintAmbient 

Use for tinting ambient color type actions.

kCC3ActionTagTintDiffuse 

Use for tinting diffuse color type actions.

kCC3ActionTagTintSpecular 

Use for tinting specular color type actions.

kCC3ActionTagTintEmission 

Use for tinting emission color type actions.