Documentation - v19.12.0-dev
    Preparing search index...

    Function deserializeLineSegments

    • Applies a SerializedLineSegments onto an existing LineSegments, restoring its material and world matrix.

      Parameters

      • source: SerializedLineSegments

        The serialized data to apply.

      • lineSegments: LineSegments<
            BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>,
            LineBasicMaterial,
        >

        The line segments to update in place.

      Returns LineSegments<
          BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>,
          LineBasicMaterial,
      >

      The same lineSegments instance, for chaining.