BoundingBox.CreateFromPoints Method (Microsoft.Xna.Framework)

Create a bounding box from the given list of points.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public static BoundingBox CreateFromPoints(
	List<Vector3> points, 
	int index, 
	int count
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

points
Type: List<Vector3>
The list of Vector3 instances defining the point cloud to bound
index
Type: System.Int32
The base index to start iterating from
count
Type: System.Int32
The number of points to iterate

Return Value

Type: Microsoft.Xna.Framework.BoundingBox
A bounding box that encapsulates the given point cloud.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web