Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Mesh Class / CreateBox Method / CreateBox<T>(Double,Double,Double,natureType) Method
Box's width
Box's depth
Box's height
Nature of the mesh

In This Topic
    CreateBox<T>(Double,Double,Double,natureType) Method
    In This Topic
    Creates a Box primitive.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateBox(Of T As {New, Mesh})( _
       ByVal width As Double, _
       ByVal depth As Double, _
       ByVal height As Double, _
       ByVal meshNature As Mesh.natureType _
    ) As T
    public static T CreateBox<T>( 
       double width,
       double depth,
       double height,
       Mesh.natureType meshNature
    )
    where T: new(), Mesh

    Parameters

    width
    Box's width
    depth
    Box's depth
    height
    Box's height
    meshNature
    Nature of the mesh

    Type Parameters

    T

    Return Value

    The created mesh.
    See Also