PathSymbol3DLayer renders polyline geometries by extruding a 2D profile along the line, resulting in visualizations like tubes, walls, etc.
Referenced by: LineSymbol3D
Properties
Property | Details |
---|---|
anchor | The position of the extrusion profile with respect to the polyline geometry. Valid values:
|
cap | Shape of the tips at the start and end of each path geometry. Valid values:
|
castShadows | Boolean to control the shadow casting behaviour of the rendered geometries. |
enable | |
height | Path height in meters. If unspecified, it is equal to width . |
join | Shape of the intersection of two line segments. Valid values:
|
material | The material used to shade the geometry. |
profile | The shape which is extruded along the line. Valid values:
|
profileRotation | Specifies the axes about which the profile may be rotated at the joins. Constraining the rotation axes leads to a fixed orientation of the profile for the specified directions. Valid values:
|
size | Path size (diameter) in meters. Ignored if either width or height are present. |
type | Specifies the type of symbol used. Valid value of this property Path |
width | Path width in meters. If unspecified, it is equal to height . |
Red tube Example
{
"type": "Path",
"material": {
"color": [
255,
0,
0
]
},
"size": 12
}
Thin wall Example
{
"type": "Path",
"profile": "quad",
"width": 0,
"height": 50,
"anchor": "bottom",
"profileRotation": "heading"
}
Strip Example
{
"type": "Path",
"profile": "quad",
"width": 10,
"height": 1,
"anchor": "center",
"profileRotation": "heading"
}