CC3NodeDescriptor Class Reference

CC3NodeDescriptor is a type of CC3Billboard specialized for attaching a descriptive text label to another node. More...

#import <CC3Billboard.h>

Inheritance diagram for CC3NodeDescriptor:
Inheritance graph
[legend]
Collaboration diagram for CC3NodeDescriptor:
Collaboration graph
[legend]

List of all members.


Detailed Description

CC3NodeDescriptor is a type of CC3Billboard specialized for attaching a descriptive text label to another node.

A CC3NodeDescriptor is typically added as a child node to the node whose description is to be displayed.

Since we don't want to add descriptor labels or wireframe boxes to descriptor nodes, the shouldDrawDescriptor, shouldDrawWireframeBox, and shouldDrawLocalContentWireframeBox properties are overridden to do nothing when set, and to always return YES.

Similarly, CC3NodeDescriptor node does not participate in calculating the bounding box of the node whose bounding box it is drawing, since, as a child of that node, it would interfere with accurate measurement of the bounding box.

The shouldIncludeInDeepCopy property returns NO, so that the CC3NodeDescriptor will not be copied when the parent node is copied. A descriptor node for the copy will be created automatically when the shouldDrawDescriptor property is copied, if it was set to YES on the original node that is copied.

A CC3NodeDescriptor will continue to be visible even when its ancestor nodes are invisible, unless the CC3NodeDescriptor itself is made invisible.


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