Camera Protocol

From PowerUI
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!