Class: OBS::WebSocket::Protocol::Events::PreviewSceneChanged

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



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

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

#sourcesArray<SceneItem> (readonly)

Returns sources field.

Returns:

  • (Array<SceneItem>)

    sources field



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

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