Operator implicit operator
- Namespace
- OBSStudioClient.Classes
- Assembly
- OBSClient.dll
implicit operator SourceRef(string)
Identifies a source by its name.
public static implicit operator SourceRef(string name)
Parameters
namestringThe name of the source.
Returns
implicit operator SourceRef(Guid)
Identifies a source by its UUID.
public static implicit operator SourceRef(Guid uuid)
Parameters
uuidGuidThe UUID of the source.
Returns
implicit operator SourceRef(InputRef)
Identifies the source that an input is.
public static implicit operator SourceRef(InputRef input)
Parameters
inputInputRefThe input.
Returns
implicit operator SourceRef(SceneRef)
Identifies the source that a scene is.
public static implicit operator SourceRef(SceneRef scene)
Parameters
sceneSceneRefThe scene.
Returns
implicit operator SourceRef(Input)
Identifies the source that an input that OBS Studio reported is.
public static implicit operator SourceRef(Input input)
Parameters
inputInputThe input.
Returns
implicit operator SourceRef(Scene)
Identifies the source that a scene that OBS Studio reported is.
public static implicit operator SourceRef(Scene scene)
Parameters
sceneSceneThe scene.
Returns
implicit operator SourceRef(SceneItem)
Identifies the source that a scene item shows, by its UUID (or by its name when OBS Studio did not report a UUID).
public static implicit operator SourceRef(SceneItem sceneItem)
Parameters
sceneItemSceneItemThe scene item.