Creates new XBoxMesh class instance with the box parameters and the XMaterial material.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XBoxMesh(
	float width,
	float height,
	float depth,
	XMaterial material
)

Parameters

width
Type: System..::.Single
Box width.
height
Type: System..::.Single
Box height.
depth
Type: System..::.Single
Box depth.
material
Type: SGP.XSpace..::.XMaterial
The XMaterial material used for the mesh rendering.

See Also