Difference between revisions of "Camera Tag"

From PowerUI
Jump to: navigation, search
(Created page with "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 functionali...")
 
 
Line 1: Line 1:
 
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''.
 
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''.
  
<syntaxhighlight>
+
<syntaxhighlight lang="html">
  
 
<camera path='Main Camera' style='width:300px;height:150px;'/>
 
<camera path='Main Camera' style='width:300px;height:150px;'/>

Latest revision as of 22:15, 13 January 2017

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