thickline
Draw a line that can have a custom width.
This is the schema for Thickline, the properties of wire object type thickline.
All wire objects have a set of basic attributes {object_id, action, type, persist, data}. The data attribute defines the object-specific attributes
Thickline Properties
| Attribute | Type | Default | Description | Required |
|---|---|---|---|---|
| object_type | string; Must be: thickline |
thickline |
3D object type. | Yes |
| color | string | '#000000' |
Line color. | Yes |
| lineWidth | number | 1 |
Width of line in px. | Yes |
| lineWidthStyler | string; One of: ['default', 'grow', 'shrink', 'center-sharp', 'center-smooth', 'sine-wave'] |
'default' |
Allows defining the line width as a function of relative position p along the path of the line. By default it is set to a constant 1. You may also choose one of the preset functions. | Yes |
| path | string | '-2 -1 0, 0 20 0, 10 -1 10' |
Comma-separated list of x y z coordinates of the line vertices. | Yes |
| sizeAttenuation | boolean | False |
Whether the line width is constant regardless of distance (false) or scales with it (true). | No |
Entity Properties
| Attribute | Type | Default | Description | Required |
|---|---|---|---|---|
| parent | string | Parent’s object_id. Child objects inherit attributes of their parent, for example scale and translation. | No | |
| position | Position | 3D object position. | No | |
| rotation | Rotation | 3D object rotation in quaternion representation; Right-handed coordinate system. Euler degrees are deprecated in wire message format. | No | |
| scale | Scale | 3D object scale. | No | |
| visible | boolean | True |
Whether object is visible. Property is inherited. | No |