BoundingSphere.Contains Method (Vector3, ContainmentType)
Checks whether the current BoundingSphere contains the specified point.
Syntax
'Declaration
Public Sub Contains ( _
ref point As Vector3, _
out result As ContainmentType _
)
public void Contains (
ref Vector3 point,
out ContainmentType result
)
public:
void Contains(
ref Vector3 point,
out ContainmentType result
)
Parameters
- point
Type: Vector3
The point 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