Jump to content

Rendering only part of WidgetSprite


photo

Recommended Posts

Hi,

 

I am using a WidgetSprite to draw a texture that scrolls on the screen.

I want only the part that is in the center of the screen visible.

 

post-1741-0-04661900-1466560669_thumb.png

 

How should I go about doing that?

 

If you look at the included images, I basically only want the part of the texture that is within the red box to be visible.

post-1741-0-91001700-1466560744_thumb.png

 

Below is an example of that in our old in-house engine:

 

post-1741-0-82833500-1466561397_thumb.gif

 

Thanks,

Sam

Link to comment
×
×
  • Create New...