obsEvent.event |
string |
The OBS event in this case SceneItemTransformChanged |
obsEvent.item-id |
integer |
Scene item ID |
obsEvent.item-name |
string |
Name of the item in the scene |
obsEvent.scene-name |
string |
Name of the scene |
obsEvent.transform.bounds.alignment |
integer |
Alignment of the bounding box |
obsEvent.transform.bounds.type |
string |
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 . |
obsEvent.transform.bounds.x |
double |
Width of the bounding box |
obsEvent.transform.bounds.y |
double |
Height of the bounding box |
obsEvent.transform.crop.bottom |
integer |
The number of pixels cropped off the bottom of the source before scaling |
obsEvent.transform.crop.left |
integer |
The number of pixels cropped off the left of the source before scaling |
obsEvent.transform.crop.right |
integer |
The number of pixels cropped off the right of the source before scaling |
obsEvent.transform.crop.top |
integer |
The number of pixels cropped off the top of the source before scaling |
obsEvent.transform.height |
double |
Scene item height (base source height multiplied by the vertical scaling factor) |
obsEvent.transform.locked |
boolean |
If the source's transform is locked |
obsEvent.transform.position.alignment |
integer |
The point on the source that the item is manipulated from. The sum of 1=Left or 2=Right, and 4=Top or 8=Bottom, or omit to centre on that axis |
obsEvent.transform.position.x |
double |
The x position of the source from the left |
obsEvent.transform.position.y |
double |
The y position of the source from the top |
obsEvent.transform.rotation |
double |
The clockwise rotation of the item in degrees around the point of alignment |
obsEvent.transform.scale.filter |
string |
The scale filter of the source. Can be OBS_SCALE_DISABLE , OBS_SCALE_POINT , OBS_SCALE_BICUBIC , OBS_SCALE_BILINEAR , OBS_SCALE_LANCZOS or OBS_SCALE_AREA |
obsEvent.transform.scale.x |
double |
The x-scale factor of the source |
obsEvent.transform.scale.y |
double |
The y-scale factor of the source |
obsEvent.transform.sourceHeight |
integer |
Base source (without scaling) of the source |
obsEvent.transform.sourceWidth |
integer |
Base width (without scaling) of the source |
obsEvent.transform.visible |
boolean |
If the source is visible |
obsEvent.transform.width |
double |
Scene item width (base source width multiplied by the horizontal scaling factor) |
obsEvent.update-type |
string |
The update type of the OBS event in this case SceneItemTransformChanged |
obsEvent._json |
string |
Everything above in a json format |