mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2026-04-18 06:53:38 +00:00
add bounds/crop/rotation flags to sceneitem transform
upd readme upd changelog upd tests minor bump
This commit is contained in:
19
README.md
19
README.md
@@ -148,15 +148,30 @@ obsws-cli sceneitem visible --parent=test_group START "Colour Source 4"
|
||||
|
||||
- transform: Set the transform of an item in a scene.
|
||||
- flags:
|
||||
|
||||
*optional*
|
||||
- --parent: Parent group name.
|
||||
|
||||
- --alignment: Alignment of the item in the scene
|
||||
- --bounds-alignment: Bounds alignment of the item in the scene
|
||||
- --bounds-height: Height of the item in the scene
|
||||
- --bounds-type: Type of bounds for the item in the scene
|
||||
- --bounds-width: Width of the item in the scene
|
||||
- --crop-to-bounds: Crop the item to the bounds
|
||||
- --crop-bottom: Bottom crop of the item in the scene
|
||||
- --crop-left: Left crop of the item in the scene
|
||||
- --crop-right: Right crop of the item in the scene
|
||||
- --crop-top: Top crop of the item in the scene
|
||||
- --position-x: X position of the item in the scene
|
||||
- --position-y: Y position of the item in the scene
|
||||
- --scale-x: X scale of the item in the scene
|
||||
- --scale-y: Y scale of the item in the scene
|
||||
- args: <scene_name> <item_name>
|
||||
|
||||
```console
|
||||
obsws-cli sceneitem transform --position-x=556.0 --scale-x=0.7946954965591431 --scale-y=0.7948529124259949 LIVE "Window Capture"
|
||||
obsws-cli sceneitem transform \
|
||||
--rotation=5 \
|
||||
--position-x=250.8 \
|
||||
Scene "Colour Source 3"
|
||||
```
|
||||
|
||||
#### Scene Collections
|
||||
|
||||
Reference in New Issue
Block a user