The culling volume defined by planes.
||Array.<Cartesian4>||optional An array of clipping planes.|
planes : Array.<Cartesian4>
Each plane is represented by a Cartesian4 object, where the x, y, and z components define the unit vector normal to the plane, and the w component is the distance of the plane from the origin.
staticCesium.CullingVolume.fromBoundingSphere(boundingSphere, result) → CullingVolume
Constructs a culling volume from a bounding sphere. Creates six planes that create a box containing the sphere. The planes are aligned to the x, y, and z axes in world coordinates.
||BoundingSphere||The bounding sphere used to create the culling volume.|
||CullingVolume||optional The object onto which to store the result.|
The culling volume created from the bounding sphere.
computeVisibility(boundingVolume) → Intersect
Determines whether a bounding volume intersects the culling volume.
||Object||The bounding volume whose intersection with the culling volume is to be tested.|
Intersect.OUTSIDE, Intersect.INTERSECTING, or Intersect.INSIDE.