Partilhar via


BoundingBox.Contains Method (BoundingFrustum)

Tests whether the BoundingBox contains a BoundingFrustum.

Syntax

'Declaration
Public Function Contains ( _
         frustum As BoundingFrustum _
) As ContainmentType 
public ContainmentType Contains (
         BoundingFrustum frustum
)
public:
ContainmentType Contains(
         BoundingFrustum frustum
)

Parameters

Return Value

Type: ContainmentType
Enumeration indicating the extent of overlap.

Exceptions

Exception type Condition
ArgumentNullException frustum is null.

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