HTML Encoding and Default Values⤴
<LineProperties
applied='true'
linetype='1'
linewidthScaleFactor='0'
metadata='X3DMetadataObject'
></LineProperties>
Inheritance⤴
- X3DNode(18)
- X3DAppearanceChildNode(9)
- LineProperties
Constructor⤴
-
LineProperties(ctx)⤴
-
Constructor for LineProperties
Parameters:
Name Type Argument Default Description ctxObject <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 | X3DNode |
|
Field to add metadata information |
documentation