BoundingBox.CreateFromPoints Method (Microsoft.Xna.Framework)
Create a bounding box from the given list of points.
- C#
- VB
- F#
public static BoundingBox CreateFromPoints( Vector3[] points, int index, int count )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- points
-
Type: Microsoft.Xna.Framework.Vector3[]
The array 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.BoundingBoxA bounding box that encapsulates the given point cloud.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web