Facebook Twitter YouTube

class OcclusionRegion

Defined in:  TSRegions.h
The OcclusionRegion class represents a convex region of space used for occlusion testing.
Definition

class OcclusionRegion : public ListElement<OcclusionRegion>, public Memory<OcclusionRegion>

Member Functions
OcclusionRegion::BoxOccluded Determines whether a box is occluded in a region.
OcclusionRegion::QuadOccluded Determines whether a quad is occluded in a region.
OcclusionRegion::PolygonOccluded Determines whether a polygon is occluded in a region.
OcclusionRegion::SphereOccluded Determines whether a sphere is occluded in a region.
OcclusionRegion::EllipsoidOccluded Determines whether an ellipsoid is occluded in a region.
OcclusionRegion::CylinderOccluded Determines whether a cylinder is occluded in a region.
Constructor

OcclusionRegion();

Description
The OcclusionRegion class represents a convex region of space bounded by a set of planes. These regions are created automatically by the World Manager when occlusion portals or occlusion spaces are present in the world. The OcclusionRegion class contains methods for testing whether various types of objects are completely contained within the region, providing basic occlusion functionality.
Base Classes
ListElement<OcclusionRegion> Occlusion regions can be stored in a list.
Memory<OcclusionRegion> Occlusion regions are stored in a dedicated heap.
See Also

VisibilityRegion