BoundingSphere.CreateFromFrustum Method

Creates the smallest BoundingSphere that can contain a specified BoundingFrustum.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static BoundingSphere CreateFromFrustum (
         BoundingFrustum frustum
)

Parameters

Return Value

The created BoundingSphere.

See Also

Reference

BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista