tint-properties.rst 676 B

12345678910111213
  1. .. include:: ../_header.rst
  2. Tint properties
  3. ---------------
  4. The `tint properties <https://photonstorm.github.io/phaser3-docs/Phaser.GameObjects.Components.Tint.html#tintTopLeft__anchor>`_ of the object are shown in the **Tint** section of the |InspectorView|_:
  5. .. image:: ../images/scene-editor-origin-props-05242020.webp
  6. :alt: Origin properties
  7. By default, the `tint properties`_ have a default value of ``#FFFFFF``. To reset it to the default value you can delete it in the text field. You can write any CSS valid color format (``#ff0000``, ``red``, ``rgb(255, 0, 0)``).
  8. At code generation, the value is converted to an integer, as the `tint properties`_ requires.