Table of Contents

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

name string

The name of the source.

Returns

SourceRef

implicit operator SourceRef(Guid)

Identifies a source by its UUID.

public static implicit operator SourceRef(Guid uuid)

Parameters

uuid Guid

The UUID of the source.

Returns

SourceRef

implicit operator SourceRef(InputRef)

Identifies the source that an input is.

public static implicit operator SourceRef(InputRef input)

Parameters

input InputRef

The input.

Returns

SourceRef

implicit operator SourceRef(SceneRef)

Identifies the source that a scene is.

public static implicit operator SourceRef(SceneRef scene)

Parameters

scene SceneRef

The scene.

Returns

SourceRef

implicit operator SourceRef(Input)

Identifies the source that an input that OBS Studio reported is.

public static implicit operator SourceRef(Input input)

Parameters

input Input

The input.

Returns

SourceRef

implicit operator SourceRef(Scene)

Identifies the source that a scene that OBS Studio reported is.

public static implicit operator SourceRef(Scene scene)

Parameters

scene Scene

The scene.

Returns

SourceRef

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

sceneItem SceneItem

The scene item.

Returns

SourceRef