Class: TencentCloud::Iai::V20180301::HeadPose
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iai::V20180301::HeadPose
- Defined in:
- lib/v20180301/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.
2466 2467 2468 2469 2470 |
# File 'lib/v20180301/models.rb', line 2466 def initialize(pitch=nil, yaw=nil, roll=nil) @Pitch = pitch @Yaw = yaw @Roll = roll end |
Instance Attribute Details
#Pitch ⇒ Object
2464 2465 2466 |
# File 'lib/v20180301/models.rb', line 2464 def Pitch @Pitch end |
#Roll ⇒ Object
2464 2465 2466 |
# File 'lib/v20180301/models.rb', line 2464 def Roll @Roll end |
Instance Method Details
#deserialize(params) ⇒ Object
2472 2473 2474 2475 2476 |
# File 'lib/v20180301/models.rb', line 2472 def deserialize(params) @Pitch = params['Pitch'] @Yaw = params['Yaw'] @Roll = params['Roll'] end |