class OBS::WebSocket::Protocol::Responses::GetSceneItemProperties
@see Requests::GetSceneItemProperties
@see github.com/Palakis/obs-websocket/blob/4.9.1/docs/generated/protocol.md#getsceneitemproperties
Public Instance Methods
@!attribute [r] bounds @return [Hash] bounds
field
# File lib/obs/websocket/protocol.rb, line 4252 def bounds; get_field("bounds", Types::Object[{:type=>{:type=>Types::String, :json_name=>"type"}, :alignment=>{:type=>Types::Integer, :json_name=>"alignment"}, :x=>{:type=>Types::Float, :json_name=>"x"}, :y=>{:type=>Types::Float, :json_name=>"y"}}]); end
@!attribute [r] crop @return [Hash] crop
field
# File lib/obs/websocket/protocol.rb, line 4240 def crop; get_field("crop", Types::Object[{:top=>{:type=>Types::Integer, :json_name=>"top"}, :right=>{:type=>Types::Integer, :json_name=>"right"}, :bottom=>{:type=>Types::Integer, :json_name=>"bottom"}, :left=>{:type=>Types::Integer, :json_name=>"left"}}]); end
@!attribute [r] group_children
@return [Array<SceneItemTransform>, nil] groupChildren
field
# File lib/obs/websocket/protocol.rb, line 4270 def group_children; get_field("groupChildren", Types::Optional[Types::Array[Types::SceneItemTransform]]); end
@!attribute [r] height @return [Float] height
field
# File lib/obs/websocket/protocol.rb, line 4264 def height; get_field("height", Types::Float); end
@!attribute [r] item_id
@return [Integer] itemId
field
# File lib/obs/websocket/protocol.rb, line 4228 def item_id; get_field("itemId", Types::Integer); end
@!attribute [r] locked @return [Boolean] locked
field
# File lib/obs/websocket/protocol.rb, line 4249 def locked; get_field("locked", Types::Boolean); end
@!attribute [r] muted @return [Boolean] muted
field
# File lib/obs/websocket/protocol.rb, line 4246 def muted; get_field("muted", Types::Boolean); end
@!attribute [r] name @return [String] name
field
# File lib/obs/websocket/protocol.rb, line 4225 def name; get_field("name", Types::String); end
@!attribute [r] parent_group_name
@return [String, nil] parentGroupName
field
# File lib/obs/websocket/protocol.rb, line 4267 def parent_group_name; get_field("parentGroupName", Types::Optional[Types::String]); end
@!attribute [r] position @return [Hash] position
field
# File lib/obs/websocket/protocol.rb, line 4231 def position; get_field("position", Types::Object[{:x=>{:type=>Types::Float, :json_name=>"x"}, :y=>{:type=>Types::Float, :json_name=>"y"}, :alignment=>{:type=>Types::Integer, :json_name=>"alignment"}}]); end
@!attribute [r] rotation @return [Float] rotation
field
# File lib/obs/websocket/protocol.rb, line 4234 def rotation; get_field("rotation", Types::Float); end
@!attribute [r] scale @return [Hash] scale
field
# File lib/obs/websocket/protocol.rb, line 4237 def scale; get_field("scale", Types::Object[{:x=>{:type=>Types::Float, :json_name=>"x"}, :y=>{:type=>Types::Float, :json_name=>"y"}, :filter=>{:type=>Types::String, :json_name=>"filter"}}]); end
@!attribute [r] source_height
@return [Integer] sourceHeight
field
# File lib/obs/websocket/protocol.rb, line 4258 def source_height; get_field("sourceHeight", Types::Integer); end
@!attribute [r] source_width
@return [Integer] sourceWidth
field
# File lib/obs/websocket/protocol.rb, line 4255 def source_width; get_field("sourceWidth", Types::Integer); end
@!attribute [r] visible @return [Boolean] visible
field
# File lib/obs/websocket/protocol.rb, line 4243 def visible; get_field("visible", Types::Boolean); end
@!attribute [r] width @return [Float] width
field
# File lib/obs/websocket/protocol.rb, line 4261 def width; get_field("width", Types::Float); end