c4d.LineObject

Inheritance

Members

LineObject.__init__(pcnt, scnt)

Allocates a line object.

Parameters:
  • pcnt (int) – Point count.
  • scnt (int) – Segment count.
Return type:

LineObject

Returns:

The new camera.

LineObject.Triangulate(regular)

Convert the LineObject into polygons.

Parameters: regular (float) – The size of polygons to fill the inside of the line object with, or 0.0 to connect the contour with no filling.
Return type: PolygonObject
Returns: The created polygon object.
LineObject.GetSegmentCount()

Get the number of segments.

Return type: int
Returns: The number of elements in the segments array.

Table Of Contents