Method From
- Namespace
- OBSStudioClient.Classes
- Assembly
- OBSClient.dll
From(SceneItemTransform)
Creates the update that gives a scene item the given transform.
public static SceneItemTransformUpdate From(SceneItemTransform transform)
Parameters
transformSceneItemTransformThe transform, for example one that was read with GetSceneItemTransform.
Returns
- SceneItemTransformUpdate
An update with every member that can be set. The width and height of the bounds are left out when they are below 1 (a scene item without bounds has none), which is what OBS Studio requires.