Type:TextureWrapMode

From Resonite Wiki

TextureWrapMode is a data type used by StaticTexture2D. It determines how the texture is mapped when it is applied to a Material and scaled.

TextureWrapMode has 4 options on both the U and V axis.

  • Repeat: The texture simply repeats to fill the space.
  • Clamp: The edges of the texture will be stretched to fill the space.
  • Mirror: The texture is repeated and mirrored to fill the space.
  • MirrorOnce: The texture is mirrored once around the zero coordinate, coordinates outside [-1..1] are clamped to edge.

See also