Properties

CC3BillboardBoundingBoxArea Class Reference

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>

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

List of all members.

Properties

CC3VectorglobalBoundingRectVertices

Detailed Description

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.


Property Documentation

- (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.


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