Skip to content

OBS.Scene

TheAndyRoid edited this page Nov 1, 2014 · 3 revisions

##Scene

###InsertImageSource #####Scene.InsertImageSource(position,config) Parameters:

  • position Integer position to insert new element.
  • config OBS.XElement object for new source.

Returns:

  • SceneItem The new item that was created.

###AddImageSource #####Scene.AddImageSource(config) Parameters:

  • config OBS.XElement object for new source.

Returns:

  • SceneItem The new item that was created.

###RemoveImageSource #####Scene.RemoveImageSource(name) Parameters:

  • name Name of the source to remove.

###HasMissingSources #####Scene.HasMissingSources() Returns:

  • bool True if missing sources otherwise False

###NumSceneItems #####Scene.NumSceneItems() Returns:

  • numItems Integer number of items in scene.

###GetSceneItemByName #####Scene.GetSceneItemByName(name) Parameters:

  • name Name of the source to get scene item for.

Returns:

  • SceneItem The item that was found or none.

###GetSceneItemByID #####Scene.GetSceneItemByID(id) Parameters:

  • id The id of scene item to get.

Returns:

  • SceneItem The sceneitem with the id or none.

###Tick #####Scene.Tick(seconds) Parameters:

  • seconds delay for this tick?

###Render #####Scene.Render() ###Preprocess #####Scene.Preprocess() ###UpdateSettings #####Scene.UpdateSettings() ###BeginScene #####Scene.BeginScene() ###EndScene #####Scene.EndScene()

Clone this wiki locally