.. role:: ts-api-decorator

.. _PointSizeUnit:

#############
PointSizeUnit
#############

.. container:: ts-api-section

   Specifies how point size is interpreted.



.. container:: api-index-section

   .. rubric:: Enumeration Members

   .. rst-class:: api-index-list-item api-kind-enummember api-parent-kind-enum

   * :ref:`PointSizeUnit.CSSPixels`
   * :ref:`PointSizeUnit.ProportionOfBoundingDiagonal`
   * :ref:`PointSizeUnit.ProportionOfScreenHeight`
   * :ref:`PointSizeUnit.ProportionOfScreenWidth`
   * :ref:`PointSizeUnit.ScreenPixels`
   * :ref:`PointSizeUnit.World`





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

Enumeration Members
===================

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

.. _PointSizeUnit.CSSPixels:

CSSPixels
---------

CSS pixels, which may be larger than screen pixels on high-DPI displays.

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

.. _PointSizeUnit.ProportionOfBoundingDiagonal:

ProportionOfBoundingDiagonal
----------------------------

If this unit is used, the point size will be multiplied by the length of the diagonal
of the scene's bounding box.
Points will scale according to distance from the camera under perspective projection.

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

.. _PointSizeUnit.ProportionOfScreenHeight:

ProportionOfScreenHeight
------------------------

If this unit is used, the point size will be multiplied by the height of the screen.

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

.. _PointSizeUnit.ProportionOfScreenWidth:

ProportionOfScreenWidth
-----------------------

If this unit is used, the point size will be multiplied by the width of the screen.

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

.. _PointSizeUnit.ScreenPixels:

ScreenPixels
------------

Point size is measured directly in pixels of the output image, regardless of display DPI.

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

.. _PointSizeUnit.World:

World
-----

The world-space units in which model geometry is defined.
If this unit is used, points will scale according to distance from the camera under perspective projection.

