BoundingSphere.Contains Method (BoundingSphere)
Checks whether the current BoundingSphere contains the specified BoundingSphere.
Syntax
'Declaration
Public Function Contains ( _
sphere As BoundingSphere _
) As ContainmentType
public ContainmentType Contains (
BoundingSphere sphere
)
public:
ContainmentType Contains(
BoundingSphere sphere
)
Parameters
- sphere
Type: BoundingSphere
The BoundingSphere to check against the current BoundingSphere.
Return Value
Type: ContainmentType
An enumeration indicating the relationship of the BoundingSpheres.
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