Creates new XAxisAlignedBox instance from the DirectX layer BaseMesh mesh.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
public static XAxisAlignedBox FromMesh( BaseMesh mesh ) |
Parameters
- mesh
- Type: BaseMesh
The DirectX layer BaseMesh mesh.
Return Value
Returns new XAxisAlignedBox instance.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | mesh is nullNothingnullptra null reference (Nothing in Visual Basic). |