OpenSimplexNoise filled texture.
    public class NoiseTexture : Texture

Uses an 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.

Inheritance Chain

Constructors

    public NoiseTexture()

Properties

    public bool AsNormalmap { get; set; }

If true, the resulting texture contains a normal map created from the original noise interpreted as a bump map.

    public float BumpStrength { get; set; }

    public int Height { get; set; }

Height of the generated texture.

    public OpenSimplexNoise Noise { get; set; }

The OpenSimplexNoise instance used to generate the noise.

    public bool Seamless { get; set; }

Whether the texture can be tiled without visible seams or not. Seamless textures take longer to generate.

    public int Width { get; set; }

Width of the generated texture.

Methods

    [Obsolete("GetBumpStrength is deprecated. Use the BumpStrength property instead.")]
    public float GetBumpStrength()

Getter for BumpStrength

    [Obsolete("GetNoise is deprecated. Use the Noise property instead.")]
    public OpenSimplexNoise GetNoise()

Getter for Noise

    [Obsolete("GetSeamless is deprecated. Use the Seamless property instead.")]
    public bool GetSeamless()

Getter for Seamless

    [Obsolete("IsNormalmap is deprecated. Use the AsNormalmap property instead.")]
    public bool IsNormalmap()

Getter for AsNormalmap

    [Obsolete("SetAsNormalmap is deprecated. Use the AsNormalmap property instead.")]
    public void SetAsNormalmap(bool asNormalmap)

Setter for AsNormalmap

    [Obsolete("SetBumpStrength is deprecated. Use the BumpStrength property instead.")]
    public void SetBumpStrength(float bumpStrength)

Setter for BumpStrength

    [Obsolete("SetHeight is deprecated. Use the Height property instead.")]
    public void SetHeight(int height)

Setter for Height

    [Obsolete("SetNoise is deprecated. Use the Noise property instead.")]
    public void SetNoise(OpenSimplexNoise noise)

Setter for Noise

    [Obsolete("SetSeamless is deprecated. Use the Seamless property instead.")]
    public void SetSeamless(bool seamless)

Setter for Seamless

    [Obsolete("SetWidth is deprecated. Use the Width property instead.")]
    public void SetWidth(int width)

Setter for Width

Tags: