Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17124

RenderTexture and setVirtualViewport

$
0
0

@Jack_Wiebe wrote:

I have a question regarding RenderTexture and the method setVirtualViewport
I am try to draw to a small rectangle from a bunch of nodes.

What I am trying to achieve is setting the viewPort of my renderTexture to be a small rectangle and whenever a node passes through the area of the renderTexture viewport I want it to draw to the texture, while keeping its original scale

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17124

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>