Enum ObsObjectState
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
What OBS Studio has done with a scene or an input.
public enum ObsObjectState
Fields
Live = 0The object exists, and has not been removed.
Detached = 1OBS Studio removed the object, and keeps it alive because scene items still use it. It is not in Scenes or Inputs any more, but its scene items are still in their scenes (Source gets to it), and the name of a removed input stays taken until the last scene item that uses it is removed.
Gone = 2The object does not exist any more.
Remarks
OBS Studio counts references. When it removes a scene or an input while a scene item still uses it, it does not destroy it: it keeps it alive, with its scene items, until the last scene item that uses it is removed. The model follows that, and hides nothing.