isOccluded

fun isOccluded(sphere: BoundingSphere, occluder: Occluder): Boolean(source)

Determines whether or not a sphere is hidden from view by the occluder.

Return

true if the sphere is not visible; otherwise false.

Parameters

sphere

The bounding sphere surrounding the occluded object.

occluder

The occluder.

See also