O'Reilly logo

Virtual Reality Blueprints by John Williamson, Charles Palmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the image display element (FullImage)

It is now time to create the image display element. Take the following steps to do so:

  1. Reselect the Gallery GameObject.
  2. Add another child object by right-clicking and choosing UI | Image. This will create a new 100 x 100 pixel, blank image object within our Gallery object. Since we have not identified a source, the object will appear as a white rectangle in the middle of the Gallery. Adjust the image object's attributes as follows:
    • Rename the object FullImage
    • Set the following; Y position = 30, Width = 604 and Height = 340

Now that we have a container for the primary image, we will begin building a container for the preview images. When the application is running, these thumbnails will provide ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required