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 side
) |
Visual Basic |
---|
Public Shared Sub AddBox ( _
mesh As MeshGeometry3D, _
side As Double _
) |
JScript |
---|
public static function AddBox(
mesh : MeshGeometry3D,
side : double
) |
Parameters
- mesh
- Type: System.Windows.Media.Media3D..::..MeshGeometry3D
The MeshGeometry3D which to add the box to.
- side
- Type: System..::..Double
The width of each side for the resulting box.
Return Value
The
MeshGeometry3D representing the resulting 3D cube.
See Also