Box

Box constructor (1 of 3)

Initializes a new instance of the Box class.

public Box()

See Also


Box constructor (2 of 3)

Initializes a new instance of the Box class.

public Box(double length, double width, double height)
ParameterTypeDescription
lengthDoubleLength of the box aligned in z-axis.
widthDoubleWidth of the box aligned in x-axis.
heightDoubleHeight of the box aligned in y-axis.

See Also


Box constructor (3 of 3)

Initializes a new instance of the Box class.

public Box(string name, double length, double width, double height, int lengthSegments, 
    int widthSegments, int heightSegments)
ParameterTypeDescription
nameStringName of the box.
lengthDoubleLength of the box aligned in z-axis.
widthDoubleWidth of the box aligned in x-axis.
heightDoubleHeight of the box aligned in y-axis.
lengthSegmentsInt32Length segments.
widthSegmentsInt32Width segments.
heightSegmentsInt32Height segments.

See Also