Class: Google::Cloud::Video::LiveStream::V1::NormalizedCoordinate

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/livestream/v1/resources.rb

Overview

2D normalized coordinates.

Instance Attribute Summary collapse

Instance Attribute Details

#x::Float

Returns Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.

Returns:

  • (::Float)

    Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.



261
262
263
264
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 261

class NormalizedCoordinate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#y::Float

Returns Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.

Returns:

  • (::Float)

    Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.



261
262
263
264
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 261

class NormalizedCoordinate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end