C4 Engine
C4 Engine API Documentation

OcclusionRegion::QuadOccluded

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

bool QuadOccluded(const Point3D *vertex) const;

Parameters
vertex A pointer to an array containing the four world-space vertex positions belonging to the quad.
Description
The QuadOccluded function determines whether the quad specified by the vertex parameter is occluded by a region. If all four vertex positions fall 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::PolygonOccluded

OcclusionRegion::SphereOccluded

OcclusionRegion::EllipsoidOccluded

OcclusionRegion::CylinderOccluded