A CC3NodeBoundingArea, used exclusively with CC3Billboards, that uses the billboardBoundingRect property of the CC3Billboard as the bounding area, and checks the bounding area against a given bounding box (typically from the CC3Layer), using the doesIntersectBounds: method. More...
#import <CC3Billboard.h>
Properties | |
CC3Vector * | globalBoundingRectVertices |
A CC3NodeBoundingArea, used exclusively with CC3Billboards, that uses the billboardBoundingRect property of the CC3Billboard as the bounding area, and checks the bounding area against a given bounding box (typically from the CC3Layer), using the doesIntersectBounds: method.
- (CC3Vector*) globalBoundingRectVertices [read, assign] |
An array of the four vertices of the bounding rectangle, in the global coordinate system, after the bounding rectangle has been transformed (translated, rotated and scaled) to match the transformation of the node.
For a node to be definitively outside the frustum, all four vertices of the global bounding box must be outside each of the planes of the frustum.
This property is used only when the value of the shouldDrawAs2DOverlay property of the CC3Bllboard is NO, and the 2D node is embedded in the 3D world.