Type:TextureWrapMode

From Resonite Wiki
Revision as of 21:34, 18 January 2024 by Virgil (talk | contribs) (Created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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: (needs more info)