Adds a box to the specified MeshGeometry3D.
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public static void AddBox(
MeshGeometry3D mesh,
double width,
double height,
double length
) |
Visual Basic |
---|
Public Shared Sub AddBox ( _
mesh As MeshGeometry3D, _
width As Double, _
height As Double, _
length As Double _
) |
JScript |
---|
public static function AddBox(
mesh : MeshGeometry3D,
width : double,
height : double,
length : double
) |
Parameters
- mesh
- Type: System.Windows.Media.Media3D..::..MeshGeometry3D
The MeshGeometry3D which to add the box to.
- width
- Type: System..::..Double
The width (along the X direction) for the resulting box.
- height
- Type: System..::..Double
The height (along the Y direction) for the resulting box.
- length
- Type: System..::..Double
The length (along the Z direction) for the resulting box.
Return Value
The
MeshGeometry3D representing the resulting 3D box.
See Also