Partilhar via


BoundingBox.Contains Method (BoundingBox, ContainmentType)

Tests whether the BoundingBox contains a BoundingBox.

Syntax

'Declaration
Public Sub Contains ( _
         ref box As BoundingBox, _
         out result As ContainmentType _
)
public void Contains (
         ref BoundingBox box,
         out ContainmentType result
)
public:
void Contains(
         ref BoundingBox box,
         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