Public Member Functions

<CC3NodeTransformListenerProtocol> Protocol Reference

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>

Inheritance diagram for <CC3NodeTransformListenerProtocol>:
Inheritance graph
[legend]
Collaboration diagram for <CC3NodeTransformListenerProtocol>:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(void) - nodeWasTransformed:

Detailed Description

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.


Member Function Documentation

- (void) nodeWasTransformed: (CC3Node *)  aNode

Callback method that will be invoked when the transformMatrix of the specified node has changed.

Reimplemented in CC3Node.


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