.. role:: ts-api-decorator

###############
MeshDataBuilder
###############

.. js:module:: Sc
   :noindex:

.. container:: ts-api-section

   .. js:class:: MeshDataBuilder



.. container:: api-index-section

   .. rubric:: Properties

   .. rst-class:: api-index-list-item api-kind-property api-parent-kind-interface

   * :js:attr:`~Sc.MeshDataBuilder.formatBits`



.. container:: api-index-section

   .. rubric:: Methods

   .. rst-class:: api-index-list-item api-kind-method api-parent-kind-interface

   * :js:meth:`~Sc.MeshDataBuilder.addFace`
   * :js:meth:`~Sc.MeshDataBuilder.addPoints`
   * :js:meth:`~Sc.MeshDataBuilder.addPolyline`





------------

Properties
==========

.. container:: ts-api-section

   .. js:attribute:: MeshDataBuilder.formatBits

      :type: number





Methods
=======

.. rst-class:: ts-api-section

addFace
-------

.. js:method:: MeshDataBuilder.addFace( vertexData[, options])

   :param vertexData: None
   :type vertexData: Float32Array | Vector3s
   :param options: :ts-api-decorator:`optional` None
   :type options: MeshDataBuilderFaceOptions


   :rtype: void

.. rst-class:: ts-api-section

addPoints
---------

.. js:method:: MeshDataBuilder.addPoints( pointData[, options])

   :param pointData: None
   :type pointData: Float32Array | Vector3s
   :param options: :ts-api-decorator:`optional` None
   :type options: MeshDataBuilderPointOptions


   :rtype: void

.. rst-class:: ts-api-section

addPolyline
-----------

.. js:method:: MeshDataBuilder.addPolyline( polylineData[, options])

   :param polylineData: None
   :type polylineData: Float32Array | Vector3s
   :param options: :ts-api-decorator:`optional` None
   :type options: MeshDataBuilderLineOptions


   :rtype: void

