YggdrasilLineData API
Data object describing how a connection line should be drawn.
Properties
| Type | Name | Default |
|---|---|---|
| LineType | line_type | STRAIGHT |
| float | curve_height | 48.0 |
| int | segments | 16 |
| bool | reversed | false |
Enumerations
enum LineType:
LineTypeSTRAIGHT = 0- Draws the line as a straight segment between points.
LineTypeBEZIER = 1- Draws the line as a quadratic Bézier curve.
LineTypeARC = 2- Draws the line as an arc.
Property Descriptions
LineType line_type = STRAIGHT
Determines how the connection line is drawn.
float curve_height = 48.0
Height of the curve used for curved line types.
int segments = 16
Number of segments used to sample curved line types.
bool reversed = false
Reverses the curve or arc direction.