Constructor
line ...
Properties
<Line>.steps Integer default: 6
The number of divisions between each vertex.
<Line>.optimize Boolean default: true
When on, removes unneeded steps from straight segments in the spline.
<Line>.adaptive Boolean default: false
When on, adaptive sets the number of steps for each spline to produce a smooth curve. Straight segments always receive 0 steps.
<Line>.angle Float default: 0.0 -- animatable
The rotational position of the cross-section in the renderer.
<Line>.thickness Float default: 1.0 -- animatable
Diameter of the rendered spline.
<Line>.sides Float default: 12.0 -- animatable
Sets the number of sides for the spline mesh in the renderer. A value of 4 will give you a square cross section, for example.
<Line>.viewport_thickness Float default: 1.0
Diameter of the viewport spline.
<Line>.viewport_sides Integer default: 12
Sets the number of sides for the spline mesh in the viewports. A value of 4 will give you a square cross section, for example.
<Line>.viewport_angle Float default: 0.0
The rotational position of the cross-section in the viewports.
<Line>.DisplayRenderMesh Boolean default: false
When on, displays the mesh generated by the spline in the viewports.
<Line>.UseViewportSettings Boolean default: false
When on, displays the mesh generated by the Viewport settings.
<Line>.DisplayRenderSettings Boolean default: true
When on, displays the mesh generated by the render settings.
<Line>.renderable Boolean default: true
When on, the spline is displayed in the rendered scene.
<Line>.mapCoords Boolean default: false
Turn this on to apply mapping coordinates. The U coordinate wraps once around the thickness of the spline; the V coordinate is mapped once along the length of the spline.
Notes
The Line shape is equivalent to a SplineShape shape. All the properties and methods associated with SplineShape are also valid on a Line shape. These properties and methods are described in SplineShape : Shape.
See also
Spline Shape Common Properties, Operators, and Methods
Shape Common Properties, Operators, and Methods
Node Common Properties, Operators, and Methods