Properties

CC3NodePointBoundingVolume Class Reference

A bounding volume that is simply a single point. More...

#import <CC3BoundingVolumes.h>

Inheritance diagram for CC3NodePointBoundingVolume:
CC3NodeBoundingVolume CC3NodeSphericalBoundingVolume CC3VertexLocationsPointBoundingVolume CC3VertexLocationsSphericalBoundingVolume

List of all members.

Properties

CC3Vector centerOfGeometry
CC3Vector globalCenterOfGeometry

Detailed Description

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.


Property Documentation

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


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