BoundingSphere.CreateFromFrustum Method (Microsoft.Xna.Framework)
Creates the smallest BoundingSphere that can contain a specified BoundingFrustum.
- C#
- VB
- F#
public static BoundingSphere CreateFromFrustum( BoundingFrustum frustum )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- frustum
-
Type: Microsoft.Xna.Framework.BoundingFrustum
The frustum to create the sphere from.
Return Value
Type: Microsoft.Xna.Framework.BoundingSphereThe new BoundingSphere.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web