BoundingFrustum.Contains Method (BoundingBox)
Checks whether the current BoundingFrustum contains the specified BoundingBox.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public ContainmentType Contains (
BoundingBox box
)
Parameters
- box
The BoundingBox to check against the current BoundingFrustum.
Return Value
Enumeration indicating the relationship of the current BoundingFrustum to the specified BoundingBox.
See Also
Reference
BoundingFrustum Class
BoundingFrustum Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista