Box constructor
Contents
[
Hide
]__init__(self)
Initializes a new instance of the Box class.
def __init__(self):
...
__init__(self, length, width, height)
Initializes a new instance of the Box class.
def __init__(self, length, width, height):
...
| Parameter | Type | Description |
|---|---|---|
| length | float | Length of the box aligned in z-axis. |
| width | float | Width of the box aligned in x-axis. |
| height | float | Height of the box aligned in y-axis. |
__init__(self, name, length, width, height, length_segments, width_segments, height_segments)
Initializes a new instance of the Box class.
def __init__(self, name, length, width, height, length_segments, width_segments, height_segments):
...
| Parameter | Type | Description |
|---|---|---|
| name | System.String | Name of the box. |
| length | float | Length of the box aligned in z-axis. |
| width | float | Width of the box aligned in x-axis. |
| height | float | Height of the box aligned in y-axis. |
| length_segments | int | Length segments. |
| width_segments | int | Width segments. |
| height_segments | int | Height segments. |
See Also
- module
aspose.threed.entities - class
Box