:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the NoiseTexture.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_NoiseTexture: NoiseTexture ============ **Inherits:** :ref:`Texture` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- :ref:`OpenSimplexNoise` filled texture. Properties ---------- +-------------------------------------------------+-----------------------------------------------------------------+-------+ | :ref:`bool` | :ref:`as_normalmap` | false | +-------------------------------------------------+-----------------------------------------------------------------+-------+ | :ref:`float` | :ref:`bump_strength` | 8.0 | +-------------------------------------------------+-----------------------------------------------------------------+-------+ | :ref:`int` | :ref:`height` | 512 | +-------------------------------------------------+-----------------------------------------------------------------+-------+ | :ref:`OpenSimplexNoise` | :ref:`noise` | | +-------------------------------------------------+-----------------------------------------------------------------+-------+ | :ref:`bool` | :ref:`seamless` | false | +-------------------------------------------------+-----------------------------------------------------------------+-------+ | :ref:`int` | :ref:`width` | 512 | +-------------------------------------------------+-----------------------------------------------------------------+-------+ Description ----------- Uses an :ref:`OpenSimplexNoise` to fill the texture data. You can specify the texture size but keep in mind that larger textures will take longer to generate and seamless noise only works with square sized textures. NoiseTexture can also generate normalmap textures. Property Descriptions --------------------- .. _class_NoiseTexture_property_as_normalmap: - :ref:`bool` **as_normalmap** +-----------+-------------------------+ | *Default* | false | +-----------+-------------------------+ | *Setter* | set_as_normalmap(value) | +-----------+-------------------------+ | *Getter* | is_normalmap() | +-----------+-------------------------+ If ``true``, the resulting texture contains a normal map created from the original noise interpreted as a bump map. .. _class_NoiseTexture_property_bump_strength: - :ref:`float` **bump_strength** +-----------+--------------------------+ | *Default* | 8.0 | +-----------+--------------------------+ | *Setter* | set_bump_strength(value) | +-----------+--------------------------+ | *Getter* | get_bump_strength() | +-----------+--------------------------+ .. _class_NoiseTexture_property_height: - :ref:`int` **height** +-----------+-------------------+ | *Default* | 512 | +-----------+-------------------+ | *Setter* | set_height(value) | +-----------+-------------------+ | *Getter* | get_height() | +-----------+-------------------+ Height of the generated texture. .. _class_NoiseTexture_property_noise: - :ref:`OpenSimplexNoise` **noise** +----------+------------------+ | *Setter* | set_noise(value) | +----------+------------------+ | *Getter* | get_noise() | +----------+------------------+ The :ref:`OpenSimplexNoise` instance used to generate the noise. .. _class_NoiseTexture_property_seamless: - :ref:`bool` **seamless** +-----------+---------------------+ | *Default* | false | +-----------+---------------------+ | *Setter* | set_seamless(value) | +-----------+---------------------+ | *Getter* | get_seamless() | +-----------+---------------------+ Whether the texture can be tiled without visible seams or not. Seamless textures take longer to generate. .. _class_NoiseTexture_property_width: - :ref:`int` **width** +-----------+------------------+ | *Default* | 512 | +-----------+------------------+ | *Setter* | set_width(value) | +-----------+------------------+ | *Getter* | get_width() | +-----------+------------------+ Width of the generated texture.