Titania X3D Editor

Bring Colours to Your Life.

Titania v4.0.1

Bring Colours to Your Life.

X3D Reference

LineSet

LineSet

LineSet is a geometry node that can contain a Coordinate|CoordinateDouble node and an (optional) Color|ColorRGBA node. Color values or a sibling Material emissiveColor is used to draw lines and points. Lines are not lit, are not texture-mapped, and do not participate in collision detection.

The LineSet node belongs to the Rendering component and its container field is geometry. It is available since X3D version 3.0 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

MFInt32 [in, out] vertexCount [ ] [2,∞)

Vertices at a time.

MFNode [in, out] attrib [ ] [X3DVertexAttributeNode]

Input/Output field attrib.

SFNode [in, out] fogCoord NULL [FogCoordinate]

Input/Output field fogCoord.

SFNode [in, out] color NULL [X3DColorNode]

Input/Output field color.

SFNode [in, out] coord NULL [X3DCoordinateNode]

Input/Output field coord.

Description

Hints

  • Use a different color (or emissiveColor) than the background color. Linear interpolation of colors can be used as a good scientific visualization technique to map arbitrary function values to a color map.
  • Insert a Shape node before adding geometry or Appearance.
  • You can also substitute a type-matched ProtoInstance node for contained content.
  • Consider including Fog to provide further depth cueing for LineSet (LS).

Browser Compatibility

Titania X_ITE
yes yes

External Links