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: 24.2.419.0 (24.2.419.0)
Syntax public Visibility VisibilityTest(
ReferenceFrame referenceFrame,
BoundingSphere sphere
)
Public Function VisibilityTest (
referenceFrame As ReferenceFrame,
sphere As BoundingSphere
) As Visibility
public:
Visibility VisibilityTest(
ReferenceFrame^ referenceFrame,
BoundingSphere sphere
)
member VisibilityTest :
referenceFrame : ReferenceFrame *
sphere : BoundingSphere -> Visibility
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:
VisibilityThe visibility of the sphere.
See Also