wiki.sine.space | sinespace

Difference between revisions of "Browser Surfaces"

From wiki.sine.space
Jump to: navigation, search
(Created page with "Unity has the ability to make media surfaces. You can set up an object to become a media surface, to stream content from a URL. For example, you could use a music video url...")
 
Line 21: Line 21:
  
 
===Script Settings===
 
===Script Settings===
 +
  
 
'''Width'''
 
'''Width'''

Revision as of 09:40, 2 February 2017

Unity has the ability to make media surfaces. You can set up an object to become a media surface, to stream content from a URL.

For example, you could use a music video url for a club, or have a training video streaming for business purposes.


Browser Surface Script

For making a media surface, you will first need to make the 3D object you want to use as a screen.

In the Inspector window, add the Browser Surface component to the item you are using for the screen.

This will bring up the browser surface script in the inspector window.


Browsersurfacescript.jpg


Script Settings

Width

This is used to set the width of the screen.


Height

This is used to set the height of the screen.

Aspect ratios for width and height:

  • 1920x1080
  • 1024x720
  • 3840x2160 (4K)


Zoom

Zoom allows you to set how much the screen is zoomed in.


URL

This is where you place the URL for the video you want to stream.


Background Color

This is the background color of the screen, which is defaulted to black.