BoundingFrustum.Contains Method (Microsoft.Xna.Framework)

Containment test between this BoundingFrustum and specified BoundingSphere.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public void Contains(
	BoundingSphere sphere, 
	out ContainmentType result
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

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

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web