Difference between revisions of "Camera Protocol"

From PowerUI
Jump to: navigation, search
(Created page with "The camera protocol automatically sets up a render texture for a camera if it doesn't already have one and makes it available via a simple URL. The path must be the path to th...")
 
(No difference)

Latest revision as of 20:42, 13 January 2017

The camera protocol automatically sets up a render texture for a camera if it doesn't already have one and makes it available via a simple URL. The path must be the path to the camera in your scene hierarchy. It can be used in anything that accepts an image path, such as img src or background-image:

<img src='camera://Main Camera'>

Note that the Camera Tag is something entirely different!