Class: TencentCloud::Iai::V20200303::HeadPose

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200303/models.rb

Overview

姿态信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pitch = nil, yaw = nil, roll = nil) ⇒ HeadPose

Returns a new instance of HeadPose.



2792
2793
2794
2795
2796
# File 'lib/v20200303/models.rb', line 2792

def initialize(pitch=nil, yaw=nil, roll=nil)
  @Pitch = pitch
  @Yaw = yaw
  @Roll = roll
end

Instance Attribute Details

#PitchObject

Parameters:



2790
2791
2792
# File 'lib/v20200303/models.rb', line 2790

def Pitch
  @Pitch
end

#RollObject

Parameters:



2790
2791
2792
# File 'lib/v20200303/models.rb', line 2790

def Roll
  @Roll
end

#YawObject

Parameters:



2790
2791
2792
# File 'lib/v20200303/models.rb', line 2790

def Yaw
  @Yaw
end

Instance Method Details

#deserialize(params) ⇒ Object



2798
2799
2800
2801
2802
# File 'lib/v20200303/models.rb', line 2798

def deserialize(params)
  @Pitch = params['Pitch']
  @Yaw = params['Yaw']
  @Roll = params['Roll']
end