User avatar
Scherub
Topic Author
Posts: 141
Joined: 06 May 2014, 20:53
Contact:

[Unity] Are TileBrushes implemented?

18 Jun 2015, 03:22

Hi,

is any of the TileBrushes implemented? I tried the DrawingBrush and the VisualBrush as an alternative but both didn't seem to work. :(

In the end I just want a repeating pattern. If both brushes aren't implemented what would be the alternative?
 
User avatar
sfernandez
Site Admin
Posts: 1911
Joined: 22 Dec 2011, 19:20

Re: [Unity] Are TileBrushes implemented?

18 Jun 2015, 19:10

If you want a repeating pattern the only option now is using an ImageBrush.

VisualBrush is implemented but it has some limitations: Visual property can only point to a visible element of the XAML and TileMode is not working.
 
User avatar
Scherub
Topic Author
Posts: 141
Joined: 06 May 2014, 20:53
Contact:

Re: [Unity] Are TileBrushes implemented?

19 Jun 2015, 00:31

Ah, good to know. Thank you for your answer! :)
 
User avatar
jsantos
Site Admin
Posts: 2900
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Unity] Are TileBrushes implemented?

03 Jul 2015, 13:27

An important detail about ImageBrushes: they are not compatible with Atlases right now. So, if you need tiling you need to store the image in a separate file.

Who is online

Users browsing this forum: No registered users and 0 guests