Camera Tag

From PowerUI
Revision as of 22:15, 13 January 2017 by 151.229.186.156 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The camera tag is a custom HTML tag which points at one of your cameras, making it easy to display a camera on your UI and format it using all the available layout functionality. When clicked on (or asked to dispatch any event for that matter) it will also fire click events into the scene.

<camera path='Main Camera' style='width:300px;height:150px;'/>
Attribute name Optional What it's for Default value Possible values
path no The path in the hierarchy to the camera none A hierarchy path.
mask yes Used to create non-square camera shapes none An image URL; uses the alpha channel