Class: OBS::WebSocket::Protocol::Events::SwitchScenes

Inherits:
OBS::WebSocket::Protocol::Event show all
Defined in:
lib/obs/websocket/protocol.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from OBS::WebSocket::Protocol::Event

create, #initialize, json_name, #rec_timecode, #stream_timecode, #to_h, #update_type

Constructor Details

This class inherits a constructor from OBS::WebSocket::Protocol::Event

Instance Attribute Details

#scene_nameString (readonly)

Returns scene-name field.

Returns:

  • (String)

    scene-name field



72
# File 'lib/obs/websocket/protocol.rb', line 72

def scene_name; get_field("scene-name", Types::String); end

#sourcesArray<SceneItem> (readonly)

Returns sources field.

Returns:

  • (Array<SceneItem>)

    sources field



75
# File 'lib/obs/websocket/protocol.rb', line 75

def sources; get_field("sources", Types::Array[Types::SceneItem]); end