Creates new XAxisAlignedBox instance from the DirectX layer BaseMesh mesh.

Namespace:  SGP.XSpace
Assembly:  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

ExceptionCondition
System..::.ArgumentNullException mesh is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also