C4 Engine
C4 Engine API Documentation

OcclusionRegion::SphereOccluded

Defined in:  C4Regions.h
Determines whether a sphere is occluded in a region.
Prototype

bool SphereOccluded(const Point3D& center, float radius) const;

Parameters
center The world-space center of the sphere.
radius The radius of the sphere.
Description
The SphereOccluded function determines whether the sphere specified by the center and radius parameters is occluded by a region. If the sphere falls completely on the positive side of all the planes bounding the region, then the return value is true. Otherwise, the return value is false.
See Also

OcclusionRegion::BoxOccluded

OcclusionRegion::QuadOccluded

OcclusionRegion::PolygonOccluded

OcclusionRegion::EllipsoidOccluded

OcclusionRegion::CylinderOccluded