Export (0) Print
Expand All

BoundingBox.CreateFromPoints Method

Creates the smallest BoundingBox that will contain a group of points.

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

public static BoundingBox CreateFromPoints (
         IEnumerable<Vector3> points
)

Parameters

points
A list of points the BoundingBox should contain.

Return Value

The created BoundingBox.

Exception typeCondition
ArgumentExceptionThere are no points in points.
ArgumentNullException points is null.

Xbox 360, Windows XP SP2, Windows Vista

Show:
© 2014 Microsoft