This protocol defines the behaviour requirements for objects that wish to be notified whenever the transform of a node has changed. More...
#import <CC3Node.h>
Public Member Functions | |
(void) | - nodeWasTransformed: |
This protocol defines the behaviour requirements for objects that wish to be notified whenever the transform of a node has changed.
This occurs when one of the transform properties (location, rotation & scale) of the node, or any of its structural ancestor nodes, has changed.
A transform listener can be registered with a node via the addTransformListener: method.
Each listener registered with a node will be sent the nodeWasTransformed: notification message when the transformMatrix of this node is recalculated, or is set directly.
- (void) nodeWasTransformed: | (CC3Node *) | aNode |
Callback method that will be invoked when the transformMatrix of the specified node has changed.
Reimplemented in CC3Node.