Camera Protocol

From PowerUI
Revision as of 20:42, 13 January 2017 by 151.229.186.156 (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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!