alpha-properties.rst 643 B

123456789101112
  1. .. include:: ../_header.rst
  2. Alpha properties
  3. ----------------
  4. These properties allow setting transparency to the objects.
  5. The `alpha <https://photonstorm.github.io/phaser3-docs/Phaser.GameObjects.Components.Alpha.html#alpha__anchor>`_ property sets global transparency to the object. The ``alphaTopLeft``, ``alphaTopRight``, ``alphaBottomLeft`` and ``alphaBottomRight`` properties of the `Alpha component <https://photonstorm.github.io/phaser3-docs/Phaser.GameObjects.Components.Alpha.html>`_ add interpolated transparency to the corners of the object.
  6. .. image:: ../images/scene-editor-alpha-props-04132020.webp
  7. :alt: Alpha properties.