Titania X3D Editor

Bring Colours to Your Life.

Titania v4.0.1

Bring Colours to Your Life.

X3D Reference

Polyline2D

Polyline2D

Polyline2D is a geometry node that defines a connected set of vertices in a contiguous set of line segments in X-Y plane.

The Polyline2D node belongs to the Geometry2D 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.

MFVec2f [in, out] lineSegments [ ] (-∞,∞)

Coordinates of vertices connected into contiguous Polyline2D.

Warning

Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for animation use Transform scale instead.

Description

Hint

  • Insert a Shape node before adding geometry or Appearance.

Example

Polyline2D

Downlod ZIP file

XML Encoding

Classic Encoding

JSON Encoding

Browser Compatibility

Titania X_ITE
yes yes

External Links