BoundingFrustum.Contains Method (Microsoft.Xna.Framework)

Containment test between this BoundingFrustum and specified BoundingBox.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public void Contains(
	BoundingBox box, 
	out ContainmentType result

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.BoundingBox
A BoundingBox for testing.
Type: out Microsoft.Xna.Framework.ContainmentType
Result of testing for containment between this BoundingFrustum and specified BoundingBox as an output parameter.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop