Partilhar via


BoundingBox.Contains Method (Vector3)

Tests whether the BoundingBox contains a point.

Syntax

'Declaration
Public Function Contains ( _
         point As Vector3 _
) As ContainmentType 
public ContainmentType Contains (
         Vector3 point
)
public:
ContainmentType Contains(
         Vector3 point
)

Parameters

  • point
    Type: Vector3
    The point to test for overlap.

Return Value

Type: ContainmentType
Enumeration indicating the extent of overlap.

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