mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
docs(ci): Update protocol.md - eb20654
[skip ci]
This commit is contained in:
@ -8678,6 +8678,47 @@
|
||||
"lead": "",
|
||||
"type": "class",
|
||||
"examples": []
|
||||
},
|
||||
{
|
||||
"subheads": [],
|
||||
"description": "Get the position of the current transition.",
|
||||
"return": "{double} `position` current transition position. This value will be between 0.0 and 1.0. Note: Transition returns 1.0 when not active.",
|
||||
"api": "requests",
|
||||
"name": "GetTransitionPosition",
|
||||
"category": "transitions",
|
||||
"since": "4.8.0",
|
||||
"returns": [
|
||||
{
|
||||
"type": "double",
|
||||
"name": "position",
|
||||
"description": "current transition position. This value will be between 0.0 and 1.0. Note: Transition returns 1.0 when not active."
|
||||
}
|
||||
],
|
||||
"names": [
|
||||
{
|
||||
"name": "",
|
||||
"description": "GetTransitionPosition"
|
||||
}
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"name": "",
|
||||
"description": "transitions"
|
||||
}
|
||||
],
|
||||
"sinces": [
|
||||
{
|
||||
"name": "",
|
||||
"description": "4.8.0"
|
||||
}
|
||||
],
|
||||
"heading": {
|
||||
"level": 2,
|
||||
"text": "GetTransitionPosition"
|
||||
},
|
||||
"lead": "",
|
||||
"type": "class",
|
||||
"examples": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -215,6 +215,7 @@ auth_response = base64_encode(auth_response_hash)
|
||||
+ [SetCurrentTransition](#setcurrenttransition)
|
||||
+ [SetTransitionDuration](#settransitionduration)
|
||||
+ [GetTransitionDuration](#gettransitionduration)
|
||||
+ [GetTransitionPosition](#gettransitionposition)
|
||||
|
||||
<!-- tocstop -->
|
||||
|
||||
@ -3372,3 +3373,23 @@ _No specified parameters._
|
||||
|
||||
---
|
||||
|
||||
### GetTransitionPosition
|
||||
|
||||
|
||||
- Added in v4.8.0
|
||||
|
||||
Get the position of the current transition.
|
||||
|
||||
**Request Fields:**
|
||||
|
||||
_No specified parameters._
|
||||
|
||||
**Response Items:**
|
||||
|
||||
| Name | Type | Description |
|
||||
| ---- | :---: | ------------|
|
||||
| `position` | _double_ | current transition position. This value will be between 0.0 and 1.0. Note: Transition returns 1.0 when not active. |
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
Reference in New Issue
Block a user