Class: OBS::WebSocket::Protocol::Responses::GetPreviewScene

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



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

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

#sourcesArray<SceneItem> (readonly)

Returns sources field.

Returns:

  • (Array<SceneItem>)

    sources field



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

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