Class GetSceneItemProperties.Response
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseResponse
-
- nl.harm27.obs.websocket.api.requests.sceneitems.GetSceneItemProperties.Response
-
- Enclosing class:
- GetSceneItemProperties
public static class GetSceneItemProperties.Response extends BaseResponse
-
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSceneItemProperties.Bounds
getBounds()
GetSceneItemProperties.Crop
getCrop()
Optional<List<SceneItemTransform>>
getGroupChildren()
List of children (if this item is a group)double
getHeight()
Scene item height (base source height multiplied by the vertical scaling factor)int
getItemId()
Scene Item ID.String
getName()
Scene Item name.Optional<String>
getParentGroupName()
Name of the item's parent (if this item belongs to a group)GetSceneItemProperties.Position
getPosition()
double
getRotation()
The clockwise rotation of the item in degrees around the point of alignment.GetSceneItemProperties.Scale
getScale()
int
getSourceHeight()
Base source (without scaling) of the sourceint
getSourceWidth()
Base width (without scaling) of the sourcedouble
getWidth()
Scene item width (base source width multiplied by the horizontal scaling factor)boolean
isLocked()
If the source's transform is locked.boolean
isMuted()
If the source is muted.boolean
isVisible()
If the source is visible.-
Methods inherited from class nl.harm27.obs.websocket.api.base.BaseResponse
getError, getMessageId, getStatus
-
-
-
-
Method Detail
-
getName
public String getName()
Scene Item name.
-
getItemId
public int getItemId()
Scene Item ID.
-
getPosition
public GetSceneItemProperties.Position getPosition()
-
getRotation
public double getRotation()
The clockwise rotation of the item in degrees around the point of alignment.
-
getScale
public GetSceneItemProperties.Scale getScale()
-
getCrop
public GetSceneItemProperties.Crop getCrop()
-
isVisible
public boolean isVisible()
If the source is visible.
-
isMuted
public boolean isMuted()
If the source is muted.
-
isLocked
public boolean isLocked()
If the source's transform is locked.
-
getBounds
public GetSceneItemProperties.Bounds getBounds()
-
getSourceWidth
public int getSourceWidth()
Base width (without scaling) of the source
-
getSourceHeight
public int getSourceHeight()
Base source (without scaling) of the source
-
getWidth
public double getWidth()
Scene item width (base source width multiplied by the horizontal scaling factor)
-
getHeight
public double getHeight()
Scene item height (base source height multiplied by the vertical scaling factor)
-
getParentGroupName
public Optional<String> getParentGroupName()
Name of the item's parent (if this item belongs to a group)
-
getGroupChildren
public Optional<List<SceneItemTransform>> getGroupChildren()
List of children (if this item is a group)
-
-