Mesh.CreateBox (Double, Double, Double, natureType) Method

Creates a Box primitive.
Public Shared Function CreateBox( _ 
ByVal width As Double, _ 
ByVal depth As Double, _ 
ByVal height As Double, _ 
ByVal meshNature As natureType
) As Mesh
This language is not supported or no code example is available.
public static Mesh CreateBox( 
double width
double depth
double height
natureType meshNature 
)
This language is not supported or no code example is available.

Parameters

width
double

Box's width

depth
double

Box's depth

height
double

Box's height

meshNature
natureType

Nature of the mesh

Return Value

Mesh

The created mesh.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition