Share via


BoundingBox.Contains Method (BoundingSphere, ContainmentType)

Tests whether the BoundingBox contains a BoundingSphere.

Syntax

'Declaration
Public Sub Contains ( _
         ref sphere As BoundingSphere, _
         out result As ContainmentType _
)
public void Contains (
         ref BoundingSphere sphere,
         out ContainmentType result
)
public:
void Contains(
         ref BoundingSphere sphere,
         out ContainmentType result
)

Parameters

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