Partilhar via


BoundingBox.Contains Method (Vector3, ContainmentType)

Tests whether the BoundingBox contains a 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

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