- Home /
Obtaining pixels from line renderer
Hi, I have been searching quite a while for this but couldn't find anything in this direction. I am using a line renderer in order to draw a free continuous curve according to user mouse Input with a notable width which is working fine. However, in order to be able to match the painted curve to some given pattern, I would like to intermediately store only the Pixels of the curve rendered by the line renderer without game Background in a greyscale Image so that the Image can be matched against a pattern. So my question is: is there an easy and efficient way to obtain the rendered curve pixels from the line renderer directly? Thanks for any help in advance.
Your answer
![](https://koobas.hobune.stream/wayback/20220612122655im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
bottom of image appears on top 1 Answer
Unity resizes images to a mulitple of four 0 Answers
Bezier curver using LineRenderer 0 Answers
Linerenderer dissapears when overlapping itself (2D) 0 Answers