Plane constructor

init

Initializes a new instance of the Plane with default size 1x1.

def __init__(self):
    ...

init

Initializes a new instance of the Plane.

def __init__(self, length, width):
    ...
ParameterTypeDescription
lengthfloatLength of the plane.
widthfloatWidth of the plane.

init

Initializes a new instance of the Plane.

def __init__(self, name, length, width, length_segments, width_segments):
    ...
ParameterTypeDescription
namestrName.
lengthfloatLength of the plane.
widthfloatWidth of the plane.
length_segmentsintLength segments.
width_segmentsintWidth segments.

See Also