Documentation - v19.12.0-dev
    Preparing search index...
    • Applies a SerializedMesh onto an existing Mesh, restoring its material and world matrix.

      Parameters

      • source: SerializedMesh

        The serialized data to apply.

      • mesh: Mesh<
            BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>,
            MeshStandardMaterial,
        >

        The mesh to update in place.

      Returns Mesh<
          BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>,
          MeshStandardMaterial,
      >

      The same mesh instance, for chaining.