A bounding volume that is simply a single point. More...
#import <CC3BoundingVolumes.h>
Properties | |
CC3Vector | centerOfGeometry |
CC3Vector | globalCenterOfGeometry |
When applied to a node, it indicates that the node intersects the frustum if the node's center of geometry is within the frustum.
For meshes, the center of geometry is calculated from the vertex locations. For other nodes, it can be set directly within the bounding volume via the centerOfGeometry property.
- (CC3Vector) centerOfGeometry [read, write, assign] |
The center of geometry for the node in the node's local coordinate system.
Defaults to {0, 0, 0}.
- (CC3Vector) globalCenterOfGeometry [read, assign] |
The center of geometry for the node in the global coordinate system.
This is updated automatically by the transformVolume method of this bounding volume.