DecalSphere
Engine/source/T3D/decal/decalSphere.h
A bounding sphere in world space and a list of DecalInstance(s) contained by it.
Public Static Attributes
Public Attributes
Vector< DecalInstance * >
Decal instances in this sphere.
World-space sphere corresponding to this DecalSphere.
Public Functions
DecalSphere(const Point3F & position, F32 radius)
bool
tryAddItem(DecalInstance * inst)
Recompute mWorldSphere from the current instance list.
updateZoning(SceneZoneSpaceManager * zoneManager)
Recompute the zoning information from the current bounds.
Detailed Description
A bounding sphere in world space and a list of DecalInstance(s) contained by it.
DecalInstance(s) are organized/binned in this fashion as a lookup and culling optimization.
Public Static Attributes
F32 smDistanceTolerance
F32 smRadiusTolerance
Public Attributes
Vector< DecalInstance * > mItems
Decal instances in this sphere.
SphereF mWorldSphere
World-space sphere corresponding to this DecalSphere.
Vector< U32 > mZones
Zones that intersect with this sphere.
If this is empty, the zoning state of the sphere is uninitialized.
Public Functions
DecalSphere()
DecalSphere(const Point3F & position, F32 radius)
tryAddItem(DecalInstance * inst)
updateWorldSphere()
Recompute mWorldSphere from the current instance list.
updateZoning(SceneZoneSpaceManager * zoneManager)
Recompute the zoning information from the current bounds.