new CullingVolume(planes)
The culling volume defined by planes.
Name | Type | Description |
---|---|---|
planes |
Array.<Cartesian4> | An array of clipping planes. |
Source:
Scene/CullingVolume.js, line 22
Members
-
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.
-
Default Value:
[]
Source: Scene/CullingVolume.js, line 30
Methods
-
computeVisibility(boundingVolume) → Intersect
-
Determines whether a bounding volume intersects the culling volume.
Name Type Description boundingVolume
Object The bounding volume whose intersection with the culling volume is to be tested. Returns:
Intersect.OUTSIDE, Intersect.INTERSECTING, or Intersect.INSIDE.Source: Scene/CullingVolume.js, line 39