NinePatchRectAxisStretchMode Enumeration |
[Missing <summary> documentation for "T:Godot.NinePatchRect.AxisStretchMode"]
Namespace: Godot
public enum AxisStretchMode
Member name | Value | Description | |
---|---|---|---|
Stretch | 0 | Stretches the center texture across the NinePatchRect. This may cause the texture to be distorted. | |
Tile | 1 | Repeats the center texture across the NinePatchRect. This won't cause any visible distortion. The texture must be seamless for this to work without displaying artifacts between edges. Note: Only supported when using the GLES3 renderer. When using the GLES2 renderer, this will behave like . | |
TileFit | 2 | Repeats the center texture across the NinePatchRect, but will also stretch the texture to make sure each tile is visible in full. This may cause the texture to be distorted, but less than . The texture must be seamless for this to work without displaying artifacts between edges. Note: Only supported when using the GLES3 renderer. When using the GLES2 renderer, this will behave like . |