Node: LineProperties

X3D: 3.3
Component: Shape
Status:
experimental

Quick Links

➨ Fields

The LineProperties node specifies additional properties to be applied to all line geometry. The colour of the line is specified by the associated Material node.

HTML Encoding and Default Values

<LineProperties applied='true' linetype='1' linewidthScaleFactor='0' metadata='X3DMetadataObject' ></LineProperties>

Inheritance


Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
applied SFBool true The linetype and linewidth shall only be applied when the applied field has value TRUE. When the value of the applied field is FALSE, a solid line of nominal width shall be produced.
linetype SFInt32 1 [0, inf] The linetype field selects a line pattern.
linewidthScaleFactor SFFloat 0 [0, inf] The linewidthScaleFactor is a multiplicative value that scales a the linewidth. This resulting value shall then be mapped to the nearest available line width. A value less than or equal to zero refers to the minimum available line width.
metadata SFNode X3DMetadataObject Core/X3DNode Field to add metadata information