BoundingSphere.Contains Method (BoundingSphere, ContainmentType)
Checks whether the current BoundingSphere contains the specified 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
- sphere
Type: BoundingSphere
The BoundingSphere 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