Class: TencentCloud::Iai::V20200303::HeadPose
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iai::V20200303::HeadPose
- Defined in:
- lib/v20200303/models.rb
Overview
姿态信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pitch = nil, yaw = nil, roll = nil) ⇒ HeadPose
constructor
A new instance of HeadPose.
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
#Pitch ⇒ Object
2790 2791 2792 |
# File 'lib/v20200303/models.rb', line 2790 def Pitch @Pitch end |
#Roll ⇒ Object
2790 2791 2792 |
# File 'lib/v20200303/models.rb', line 2790 def Roll @Roll end |
#Yaw ⇒ Object
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 |