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

bounds() click to toggle source

@!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
crop() click to toggle source

@!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
group_children() click to toggle source

@!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
height() click to toggle source

@!attribute [r] height @return [Float] height field

# File lib/obs/websocket/protocol.rb, line 4264
def height; get_field("height", Types::Float); end
item_id() click to toggle source

@!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
locked() click to toggle source

@!attribute [r] locked @return [Boolean] locked field

# File lib/obs/websocket/protocol.rb, line 4249
def locked; get_field("locked", Types::Boolean); end
muted() click to toggle source

@!attribute [r] muted @return [Boolean] muted field

# File lib/obs/websocket/protocol.rb, line 4246
def muted; get_field("muted", Types::Boolean); end
name() click to toggle source

@!attribute [r] name @return [String] name field

# File lib/obs/websocket/protocol.rb, line 4225
def name; get_field("name", Types::String); end
parent_group_name() click to toggle source

@!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
position() click to toggle source

@!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
rotation() click to toggle source

@!attribute [r] rotation @return [Float] rotation field

# File lib/obs/websocket/protocol.rb, line 4234
def rotation; get_field("rotation", Types::Float); end
scale() click to toggle source

@!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
source_height() click to toggle source

@!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
source_width() click to toggle source

@!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
visible() click to toggle source

@!attribute [r] visible @return [Boolean] visible field

# File lib/obs/websocket/protocol.rb, line 4243
def visible; get_field("visible", Types::Boolean); end
width() click to toggle source

@!attribute [r] width @return [Float] width field

# File lib/obs/websocket/protocol.rb, line 4261
def width; get_field("width", Types::Float); end