Dela via


BoundingFrustum.Contains Method (BoundingBox)

Checks whether the current BoundingFrustum contains the specified BoundingBox.

Syntax

'Declaration
Public Function Contains ( _
         box As BoundingBox _
) As ContainmentType 
public ContainmentType Contains (
         BoundingBox box
)
public:
ContainmentType Contains(
         BoundingBox box
)

Parameters

Return Value

Type: ContainmentType
Enumeration indicating the relationship of the current BoundingFrustum to the specified BoundingBox.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

BoundingFrustum Class
BoundingFrustum Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone