- Home /
Question by
Bruder · Aug 25, 2021 at 11:55 AM ·
texture2dspriterenderer
Getting the real pixels of texture after SpriteRenderer Sliced mode
Hi all,
I have texture with size 79x91 (pic1) and i use it with Spriterenderer, draw mode = sliced, and use width=4 and height = 4 in the size param (pic2)
The actual size is 316x364, which is fine, but my purpose is to get a texture of the image as is (after the manipulation of spriterenderer) using GetPixels.
The 'GetPixels' function only returns the original texture pixels, how do i get the manipulated pixels texture?
Comment
Your answer
Follow this Question
Related Questions
Getting a palette swap for specific pixels on sprites 0 Answers
Slicing sliced sprite via script 0 Answers
Instantiate a gameObject with a dynamically generated sprite? 0 Answers
How to programmatically change image properties? 1 Answer
Can't create a 2D sprite with Sprite.Create when creating texture in code 1 Answer