BoundingSphere.Contains Method (BoundingBox)

Checks whether the current BoundingSphere contains the specified BoundingBox.

Syntax

'Declaration
Public Function Contains ( _
         box As BoundingBox _
) As ContainmentType 
public ContainmentType Contains (
         BoundingBox box
)
public:
ContainmentType Contains(
         BoundingBox box
)

Parameters

Return Value

Type: ContainmentType
An enumeration indicating the relationship of the specified BoundingBox to the current BoundingSphere.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone