次の方法で共有


BoundingSphere.CreateFromPoints Method

Creates a BoundingSphere that can contain a specified list of points.

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

Syntax

public static BoundingSphere CreateFromPoints (
         IEnumerable<Vector3> points
)

Parameters

Return Value

The created BoundingSphere.

Exceptions

Exception type Condition
ArgumentException There are no points in points.
ArgumentNullException points is null.

See Also

Reference

BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace

Tasks

How to: Position the Camera to View All Objects in a Scene

Platforms

Xbox 360, Windows XP SP2, Windows Vista