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>
Protected Attributes | |
CC3Plane | planes [6] |
CC3Vector | vertices [4] |
Properties | |
CC3Vector *globalBoundingRectVertices | DEPRECATED_ATTRIBUTE |
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.
For bounding volumes that are described in terms of a hull of vertices and planes, this property returns the array of planes that define the boundary surface of this bounding volume.
The planes are defined in the global coordinate system. The number of planes in the array is specified by the planeCount property.
Not all bounding volumes are based on vertices and planes, and this abstract implementation returns the NULL pointer. Subclasses that make use of vertices and planes will allocate the underlying array and override this implementation.
Implements CC3BoundingVolume.
For bounding volumes that are described in terms of a hull of vertices and planes, this property returns the array of vertices at the points where the planes intersect.
The vertices are defined in the global coordinate system. The number of vertices in the array is defined by the vertexCount property.
The returned vertices are not in any defined order.
Not all bounding volumes are based on vertices and planes, and this abstract implementation returns the NULL pointer. Subclasses that make use of vertices and planes will allocate the underlying array and override this implementation.
Implements CC3BoundingVolume.
- (CC3Vector* globalBoundingRectVertices) DEPRECATED_ATTRIBUTE [read, assign] |