- Home /
How to show a part of a texture2d to a raw image?
For example i had a texture2d size 1920x1080 and i assign it to a raw image size 192x108. I just wanted the raw image to show a 192x108 part of the texture2d rather than stretch it. Then i also wanted that i can change something like the offset to make the raw image show a different part of the texture2d.
Comment
Best Answer
Answer by Long2904 · Jun 23, 2020 at 06:14 AM
Just crop the image by Graphics.CopyTexture
Your answer
Follow this Question
Related Questions
Tile and offset a Texture2D? 2 Answers
Sprite image not showing up when assigned to Texture2D 0 Answers
Applying offset to a texture via script 1 Answer
Strange behavour when drawing on texture 0 Answers