Partilhar via


BoundingBox.Contains Method (BoundingSphere)

Tests whether the BoundingBox contains a 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 extent of overlap.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

BoundingBox Structure
BoundingBox Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone