fromBoundingSphere
fun fromBoundingSphere(occluderBoundingSphere: BoundingSphere, cameraPosition: Cartesian3, result: Occluder? = definedExternally): Occluder(source)
Creates an occluder from a bounding sphere and the camera position.
Return
The occluder derived from an object's position and radius, as well as the camera position.
Parameters
occluderBoundingSphere
The bounding sphere surrounding the occluder.
cameraPosition
The coordinate of the viewer/camera.
result
The object onto which to store the result.