Difference between revisions of "Camera"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== Parameters == | == Parameters == | ||
− | + | {{UI Object Parameter (ID)}} | |
*'''address''': the name of the camera, as in the Cameras parameter in hsyco.ini, or the name of a camera grid, defined as gridN, where N is the grid number assigned in hsyco.ini | *'''address''': the name of the camera, as in the Cameras parameter in hsyco.ini, or the name of a camera grid, defined as gridN, where N is the grid number assigned in hsyco.ini | ||
− | + | {{UI Object Parameter (position)}} | |
*'''size''': the camera image's width and height | *'''size''': the camera image's width and height | ||
*'''destination panel id''': optional. If set to a panel id, will show the camera on that camera panel | *'''destination panel id''': optional. If set to a panel id, will show the camera on that camera panel |
Revision as of 13:08, 21 January 2014
A real-time view of a camera or grid of cameras.
Parameters
- id: the object's ID, used by UISets
- address: the name of the camera, as in the Cameras parameter in hsyco.ini, or the name of a camera grid, defined as gridN, where N is the grid number assigned in hsyco.ini
- position: the object's position. Use the pixels or rows and columns coordinates format
- size: the camera image's width and height
- destination panel id: optional. If set to a panel id, will show the camera on that camera panel
Syntax
(camera[!<id>] <address>; <position>; <width>; <height>; <destination panel id>)
E.g.
(camera grid1; x0y10; 312; 180) (camera livingroom; x0y10; 100; 90; camerapanel)