utils + sceneitems: fix docs

This commit is contained in:
Stéphane Lepin 2019-05-16 13:54:06 +02:00
parent 50bb6e7204
commit eb7fbf011f
2 changed files with 4 additions and 1 deletions

View File

@ -658,7 +658,7 @@ bool Utils::SetFilenameFormatting(const char* filenameFormatting) {
* @property {double} `width` Scene item width (base source width multiplied by the horizontal scaling factor)
* @property {double} `height` Scene item height (base source height multiplied by the vertical scaling factor)
* @property {String} `parentGroupName` Name of the item's parent (if this item belongs to a group)
* @property {Array<SceneItemTransform>} `groupChildren`
* @property {Array<SceneItemTransform>} `groupChildren` List of children (if this item is a group)
*/
obs_data_t* Utils::GetSceneItemPropertiesData(obs_sceneitem_t* sceneItem) {
if (!sceneItem) {

View File

@ -29,6 +29,9 @@
* @return {int} `sourceHeight` Base source (without scaling) of the source
* @return {double} `width` Scene item width (base source width multiplied by the horizontal scaling factor)
* @return {double} `height` Scene item height (base source height multiplied by the vertical scaling factor)
* @property {Boolean} `isGroup` Whether or not this Scene Item is a group
* @property {String} `parentGroupName` Name of the item's parent (if this item belongs to a group)
* @property {Array<SceneItemTransform>} `groupChildren` List of children (if this item is a group)
*
* @api requests
* @name GetSceneItemProperties