Instance Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
invert
If true
, inverts the noise texture. White becomes black, black becomes white.
final var invert: Bool { get set }
Other members in extension
Type members
Instance members
var asNormalMap: Bool
If
true
, the resulting texture contains a normal map created from the original noise interpreted as a bump map.var bumpStrength: Double
Strength of the bump maps used in this texture. A higher value will make the bump maps appear larger while a lower value will make them appear softer.
var colorRamp: Gradient?
A
Gradient
which is used to map the luminance of each pixel to a color value.var generateMipmaps: Bool
Determines whether mipmaps are generated for this texture. Enabling this results in less texture aliasing in the distance, at the cost of increasing memory usage by roughly 33% and making the noise texture generation take longer.
var height: Int32
Height of the generated texture (in pixels).
var in3dSpace: Bool
Determines whether the noise image is calculated in 3D space. May result in reduced contrast.
var noise: Noise?
The instance of the
Noise
object.var normalize: Bool
If
true
, the noise image coming from the noise generator is normalized to the range0.0
to1.0
.var seamless: Bool
If
true
, a seamless texture is requested from theNoise
resource.var seamlessBlendSkirt: Double
Used for the default/fallback implementation of the seamless texture generation. It determines the distance over which the seams are blended. High values may result in less details and contrast. See
Noise
for further details.var width: Int32
Width of the generated texture (in pixels).