Class: LineProperties

X3D: 3.3
Component: Shape
Status:
experimental

x3dom.nodeTypes. LineProperties

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


Constructor

LineProperties(ctx)

Constructor for LineProperties

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

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 X3DAppearanceChildNode Field to add metadata information