Enum Viewport.DefaultCanvasItemTextureRepeat
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum Viewport.DefaultCanvasItemTextureRepeat : long
Fields
Disabled = 0
Disables textures repeating. Instead, when reading UVs outside the 0-1 range, the value will be clamped to the edge of the texture, resulting in a stretched out look at the borders of the texture.
Enabled = 1
Enables the texture to repeat when UV coordinates are outside the 0-1 range. If using one of the linear filtering modes, this can result in artifacts at the edges of a texture when the sampler filters across the edges of the texture.
Max = 3
Max value for Viewport.DefaultCanvasItemTextureRepeat enum.
Mirror = 2
Flip the texture when repeating so that the edge lines up instead of abruptly changing.