Returns the bounding block (aligned to the coordinate system axis) that contains all the mesh's given vertices.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static XAxisAlignedBox GetMeshVerticesBoundingVolume( Mesh mesh, int vertexStart, int vertexCount ) |
Parameters
- mesh
- Type: Mesh
A mesh.
- vertexStart
- Type: System..::.Int32
Starting vertex index.
- vertexCount
- Type: System..::.Int32
Vertex count.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | mesh is nullNothingnullptra null reference (Nothing in Visual Basic). |