.. role:: ts-api-decorator

#######################
CylinderGeneratorConfig
#######################

.. js:module:: cee.utils
   :noindex:

.. container:: ts-api-section

   .. js:class:: CylinderGeneratorConfig

      The cylinder generator configuration object, see ``CylinderGenerator``.



.. container:: api-index-section

   .. rubric:: Properties

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

   * :js:attr:`~cee.utils.CylinderGeneratorConfig.direction`
   * :js:attr:`~cee.utils.CylinderGeneratorConfig.height`
   * :js:attr:`~cee.utils.CylinderGeneratorConfig.numConcentricSegmentsInCaps`
   * :js:attr:`~cee.utils.CylinderGeneratorConfig.numSegmentsZdirection`
   * :js:attr:`~cee.utils.CylinderGeneratorConfig.numSlices`
   * :js:attr:`~cee.utils.CylinderGeneratorConfig.origin`
   * :js:attr:`~cee.utils.CylinderGeneratorConfig.radius`





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

Properties
==========

.. container:: ts-api-section

   .. js:attribute:: CylinderGeneratorConfig.direction

      :type: Vec3 :ts-api-decorator:`optional`

      The symetric, longitudinal axis of the cylinder. It will grow from the ``origin`` in this direction.



.. container:: ts-api-section

   .. js:attribute:: CylinderGeneratorConfig.height

      :type: number :ts-api-decorator:`optional`

      Cylinder's height along the ``direction``.



.. container:: ts-api-section

   .. js:attribute:: CylinderGeneratorConfig.numConcentricSegmentsInCaps

      :type: number :ts-api-decorator:`optional`

      Number of concentric 'tree rings' segments in both caps of the cylinder.



.. container:: ts-api-section

   .. js:attribute:: CylinderGeneratorConfig.numSegmentsZdirection

      :type: number :ts-api-decorator:`optional`

      Number of segments along the ``direction`` of the cylinder, in other words slices which are parallel to the caps.



.. container:: ts-api-section

   .. js:attribute:: CylinderGeneratorConfig.numSlices

      :type: number :ts-api-decorator:`optional`

      Number of 'cake slices' going trough both caps and the walls of the cylinder.



.. container:: ts-api-section

   .. js:attribute:: CylinderGeneratorConfig.origin

      :type: Vec3 :ts-api-decorator:`optional`

      The origin point of the cylinder, which is the bottom center point.



.. container:: ts-api-section

   .. js:attribute:: CylinderGeneratorConfig.radius

      :type: number :ts-api-decorator:`optional`

      The radius of the cylinder.



