google_api_poly v0.8.0 GoogleApi.Poly.V1.Model.Quaternion View Source

A Quaternion. Please note: if in the response you see "w: 1" and nothing else this is the default value of [0, 0, 0, 1] where x,y, and z are 0.

Attributes

  • w (type: float(), default: nil) - The scalar component.
  • x (type: float(), default: nil) - The x component.
  • y (type: float(), default: nil) - The y component.
  • z (type: float(), default: nil) - The z component.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Poly.V1.Model.Quaternion{
  w: float(),
  x: float(),
  y: float(),
  z: float()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.