Index

GetThemeTextureDeTile

GetThemeTextureDeTile(<-terrainLevel) ->detiled

Description

Gets the current theme's texture detiling value for the specified level. Terrain levels range from 1 to 20. The returned value is a float indicating the terrain level's detiling amount. A value of 0 turns detiliing off. Values greater than 0 cause the texture to detile. A typical value for detiling would be 0.2. Detiling values that are greater than 1, and clipped to 1. De-tiling scrambles the texture using a stochastic blending process. It can remove repeating patterns when a repeating pattern is not desired.

Examples

trace(GetThemeTextureDeTile(1))

Index