BoundingFrustum.Contains Method (BoundingFrustum)
Checks whether the current BoundingFrustum contains the specified BoundingFrustum.
Syntax
'Declaration
Public Function Contains ( _
frustum As BoundingFrustum _
) As ContainmentType
public ContainmentType Contains (
BoundingFrustum frustum
)
public:
ContainmentType Contains(
BoundingFrustum frustum
)
Parameters
- frustum
Type: BoundingFrustum
The BoundingFrustum to check against the current BoundingFrustum.
Return Value
Type: ContainmentType
Enumeration indicating the relationship of the current BoundingFrustum to the specified BoundingFrustum.
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
BoundingFrustum Class
BoundingFrustum Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone