BoundingBox.Contains Method (BoundingSphere)

Tests whether the BoundingBox contains a BoundingSphere.

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

Syntax

public ContainmentType Contains (
         BoundingSphere sphere
)

Parameters

Return Value

Enumeration indicating the extent of overlap.

See Also

Reference

BoundingBox Structure
BoundingBox Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista