slingxshot
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2017
01:35 PM
Using Vector2DFieldInterpolator and scale question
Hello I would to enlarge an image by pulling from the bottom 2 corners of it... down... basically I am trying to make a small image scale to full screen tv size 1920x1080 ...
Right now the image is top center of the screen, right now what I am doing is modifying translation field then scaling it. Is there a better way to do this?
Does anyway have any idea how to achieve this?
Thank You
Right now the image is top center of the screen, right now what I am doing is modifying translation field then scaling it. Is there a better way to do this?
Does anyway have any idea how to achieve this?
Thank You
2 REPLIES 2
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2017
01:46 PM
Re: Using Vector2DFieldInterpolator and scale question
Just put it where you want it, and make it as big as you want, e.g:
<Poster
id="bigPoster"
uri="http://blah.blah.com/blah"
width="1920"
height="1080"
loadSync="true"
translation="[0,0]" />
bleighty
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2017
11:09 AM
Re: Using Vector2DFieldInterpolator and scale question
instead of manually adjusting the translation yourself, just set scaleRotateCenter to whatever point you want it to scale from.