Click or drag to resize

CameraVisibilityTest Method

Gets the visibility of a sphere against the view frustum and any occluding central bodies.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 19.2.399.0 (19.2.399.0)
Syntax
public Visibility VisibilityTest(
	ReferenceFrame referenceFrame,
	BoundingSphere sphere
)

Parameters

referenceFrame
Type: AGI.Foundation.GeometryReferenceFrame
The ReferenceFrame that sphere is in.
sphere
Type: AGI.Foundation.Graphics.AdvancedBoundingSphere
The bounding sphere to be tested.

Return Value

Type: Visibility
The visibility of the sphere.
See Also