Dela via


BoundingFrustum.Contains Method (BoundingSphere)

Checks whether the current BoundingFrustum contains the specified BoundingSphere.

Syntax

'Declaration
Public Function Contains ( _
         sphere As BoundingSphere _
) As ContainmentType 
public ContainmentType Contains (
         BoundingSphere sphere
)
public:
ContainmentType Contains(
         BoundingSphere sphere
)

Parameters

Return Value

Type: ContainmentType
Enumeration indicating the relationship of the current BoundingFrustum to the specified BoundingSphere.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

BoundingFrustum Class
BoundingFrustum Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone