Constructor SceneItemTransform
- Namespace
- OBSStudioClient.Classes
- Assembly
- OBSClient.dll
SceneItemTransform(int, int, float, Bounds, float, int, int, int, int, float, float, float, float, float, float, float, float, float)
Provides a class for SceneItemTransform.
[JsonConstructor]
public SceneItemTransform(int alignment, int boundsAlignment, float boundsHeight, Bounds boundsType, float boundsWidth, int cropBottom, int cropLeft, int cropRight, int cropTop, float height, float positionX, float positionY, float rotation, float scaleX, float scaleY, float sourceHeight, float sourceWidth, float width)
Parameters
alignmentintThe alignment.
boundsAlignmentintThe bounds alignment.
boundsHeightfloatThe bounds height.
boundsTypeBoundsThe type of bounds.
boundsWidthfloatThe width of the bounds.
cropBottomintThe bottom crop.
cropLeftintThe left crop.
cropRightintThe right crop.
cropTopintThe top crop.
heightfloatThe height.
positionXfloatThe x position.
positionYfloatThe y position.
rotationfloatThe rotation.
scaleXfloatThe horizontal scale.
scaleYfloatThe vertical scale.
sourceHeightfloatThe source height.
sourceWidthfloatThe source width.
widthfloatThe width.
Remarks
Initializes a new instance of the SceneItemTransform class.