Table of Contents

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

alignment int

The alignment.

boundsAlignment int

The bounds alignment.

boundsHeight float

The bounds height.

boundsType Bounds

The type of bounds.

boundsWidth float

The width of the bounds.

cropBottom int

The bottom crop.

cropLeft int

The left crop.

cropRight int

The right crop.

cropTop int

The top crop.

height float

The height.

positionX float

The x position.

positionY float

The y position.

rotation float

The rotation.

scaleX float

The horizontal scale.

scaleY float

The vertical scale.

sourceHeight float

The source height.

sourceWidth float

The source width.

width float

The width.

Remarks

Initializes a new instance of the SceneItemTransform class.