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.BoundsgetBounds()GetSceneItemProperties.CropgetCrop()Optional<List<SceneItemTransform>>getGroupChildren()List of children (if this item is a group)doublegetHeight()Scene item height (base source height multiplied by the vertical scaling factor)intgetItemId()Scene Item ID.StringgetName()Scene Item name.Optional<String>getParentGroupName()Name of the item's parent (if this item belongs to a group)GetSceneItemProperties.PositiongetPosition()doublegetRotation()The clockwise rotation of the item in degrees around the point of alignment.GetSceneItemProperties.ScalegetScale()intgetSourceHeight()Base source (without scaling) of the sourceintgetSourceWidth()Base width (without scaling) of the sourcedoublegetWidth()Scene item width (base source width multiplied by the horizontal scaling factor)booleanisLocked()If the source's transform is locked.booleanisMuted()If the source is muted.booleanisVisible()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)
-
-