Line2D texture stretch mode

Prototype for stretching the texture across the whole line.
Fixed end cap tile mode.
This commit is contained in:
Jorn Van denbussche
2018-07-16 14:31:19 +02:00
parent 28aa9a1d6d
commit d7aa3e33c8
4 changed files with 16 additions and 5 deletions

View File

@@ -117,5 +117,8 @@
<constant name="LINE_TEXTURE_TILE" value="1" enum="LineTextureMode">
Tiles the texture over the line. The texture need to be imported with Repeat Enabled for it to work properly.
</constant>
<constant name="LINE_TEXTURE_STRETCH" value="2" enum="LineTextureMode">
Stretches the texture across the line. Import the texture with Repeat Disabled for best results.
</constant>
</constants>
</class>