Class: OBS::WebSocket::Protocol::Responses::GetCurrentScene

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

Overview

Instance Attribute Summary collapse

Method Summary

Methods inherited from OBS::WebSocket::Protocol::Response

#initialize, #to_h

Constructor Details

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

Instance Attribute Details

#nameString (readonly)

Returns name field.

Returns:

  • (String)

    name field



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

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

#sourcesArray<SceneItem> (readonly)

Returns sources field.

Returns:

  • (Array<SceneItem>)

    sources field



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

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