mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
docs(travis): Update protocol.md - 92938d2 [skip ci]
This commit is contained in:
parent
92938d2c35
commit
81ab199308
@ -18,7 +18,11 @@
|
||||
"{String} `bounds.type` Type of bounding box. Can be \"OBS_BOUNDS_STRETCH\", \"OBS_BOUNDS_SCALE_INNER\", \"OBS_BOUNDS_SCALE_OUTER\", \"OBS_BOUNDS_SCALE_TO_WIDTH\", \"OBS_BOUNDS_SCALE_TO_HEIGHT\", \"OBS_BOUNDS_MAX_ONLY\" or \"OBS_BOUNDS_NONE\".",
|
||||
"{int} `bounds.alignment` Alignment of the bounding box.",
|
||||
"{double} `bounds.x` Width of the bounding box.",
|
||||
"{double} `bounds.y` Height of the bounding box."
|
||||
"{double} `bounds.y` Height of the bounding box.",
|
||||
"{int} `sourceWidth` Base width (without scaling) of the source",
|
||||
"{int} `sourceHeight` Base source (without scaling) of the source",
|
||||
"{double} `width` Scene item width (base source width multiplied by the horizontal scaling factor)",
|
||||
"{double} `height` Scene item height (base source height multiplied by the vertical scaling factor)"
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
@ -95,6 +99,26 @@
|
||||
"type": "double",
|
||||
"name": "bounds.y",
|
||||
"description": "Height of the bounding box."
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "sourceWidth",
|
||||
"description": "Base width (without scaling) of the source"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "sourceHeight",
|
||||
"description": "Base source (without scaling) of the source"
|
||||
},
|
||||
{
|
||||
"type": "double",
|
||||
"name": "width",
|
||||
"description": "Scene item width (base source width multiplied by the horizontal scaling factor)"
|
||||
},
|
||||
{
|
||||
"type": "double",
|
||||
"name": "height",
|
||||
"description": "Scene item height (base source height multiplied by the vertical scaling factor)"
|
||||
}
|
||||
],
|
||||
"typedefs": [
|
||||
@ -2489,7 +2513,11 @@
|
||||
"{String} `bounds.type` Type of bounding box. Can be \"OBS_BOUNDS_STRETCH\", \"OBS_BOUNDS_SCALE_INNER\", \"OBS_BOUNDS_SCALE_OUTER\", \"OBS_BOUNDS_SCALE_TO_WIDTH\", \"OBS_BOUNDS_SCALE_TO_HEIGHT\", \"OBS_BOUNDS_MAX_ONLY\" or \"OBS_BOUNDS_NONE\".",
|
||||
"{int} `bounds.alignment` Alignment of the bounding box.",
|
||||
"{double} `bounds.x` Width of the bounding box.",
|
||||
"{double} `bounds.y` Height of the bounding box."
|
||||
"{double} `bounds.y` Height of the bounding box.",
|
||||
"{int} `sourceWidth` Base width (without scaling) of the source",
|
||||
"{int} `sourceHeight` Base source (without scaling) of the source",
|
||||
"{double} `width` Scene item width (base source width multiplied by the horizontal scaling factor)",
|
||||
"{double} `height` Scene item height (base source height multiplied by the vertical scaling factor)"
|
||||
],
|
||||
"api": "requests",
|
||||
"name": "GetSceneItemProperties",
|
||||
@ -2575,6 +2603,26 @@
|
||||
"type": "double",
|
||||
"name": "bounds.y",
|
||||
"description": "Height of the bounding box."
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "sourceWidth",
|
||||
"description": "Base width (without scaling) of the source"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "sourceHeight",
|
||||
"description": "Base source (without scaling) of the source"
|
||||
},
|
||||
{
|
||||
"type": "double",
|
||||
"name": "width",
|
||||
"description": "Scene item width (base source width multiplied by the horizontal scaling factor)"
|
||||
},
|
||||
{
|
||||
"type": "double",
|
||||
"name": "height",
|
||||
"description": "Scene item height (base source height multiplied by the vertical scaling factor)"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
|
@ -204,6 +204,10 @@ These are complex types, such as `Source` and `Scene`, which are used as argumen
|
||||
| `bounds.alignment` | _int_ | Alignment of the bounding box. |
|
||||
| `bounds.x` | _double_ | Width of the bounding box. |
|
||||
| `bounds.y` | _double_ | Height of the bounding box. |
|
||||
| `sourceWidth` | _int_ | Base width (without scaling) of the source |
|
||||
| `sourceHeight` | _int_ | Base source (without scaling) of the source |
|
||||
| `width` | _double_ | Scene item width (base source width multiplied by the horizontal scaling factor) |
|
||||
| `height` | _double_ | Scene item height (base source height multiplied by the vertical scaling factor) |
|
||||
## Scene
|
||||
| Name | Type | Description |
|
||||
| ---- | :---: | ------------|
|
||||
@ -1228,6 +1232,10 @@ Gets the scene specific properties of the specified source item.
|
||||
| `bounds.alignment` | _int_ | Alignment of the bounding box. |
|
||||
| `bounds.x` | _double_ | Width of the bounding box. |
|
||||
| `bounds.y` | _double_ | Height of the bounding box. |
|
||||
| `sourceWidth` | _int_ | Base width (without scaling) of the source |
|
||||
| `sourceHeight` | _int_ | Base source (without scaling) of the source |
|
||||
| `width` | _double_ | Scene item width (base source width multiplied by the horizontal scaling factor) |
|
||||
| `height` | _double_ | Scene item height (base source height multiplied by the vertical scaling factor) |
|
||||
|
||||
|
||||
---
|
||||
|
Loading…
x
Reference in New Issue
Block a user