synckit Posted October 12, 2020 Share Posted October 12, 2020 How do I crop the render texture to the size I need. you can see in the image attached what I want to achieve. Is there anyway to achieve this? Thanks Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 12, 2020 Share Posted October 12, 2020 new PIXI.Texture(renderTexture.baseTexture, new PIXI.Rectangle(x,y,w,h)) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.