BoundingSphere.Contains Method (BoundingBox, ContainmentType)
Checks whether the current BoundingSphere contains the specified BoundingBox.
Syntax
'Declaration
Public Sub Contains ( _
ref box As BoundingBox, _
out result As ContainmentType _
)
public void Contains (
ref BoundingBox box,
out ContainmentType result
)
public:
void Contains(
ref BoundingBox box,
out ContainmentType result
)
Parameters
- box
Type: BoundingBox
The BoundingBox to test for overlap. - result
Type: ContainmentType
[OutAttribute] Enumeration indicating the extent of overlap.
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