Class: Google::Apis::PolyV1::PresentationParams
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PolyV1::PresentationParams
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/poly_v1/classes.rb,
 generated/google/apis/poly_v1/representations.rb,
 generated/google/apis/poly_v1/representations.rb
Overview
Hints for displaying the asset, based on information available when the asset was uploaded.
Instance Attribute Summary collapse
- 
  
    
      #color_space  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The materials' diffuse/albedo color. 
- 
  
    
      #orienting_rotation  ⇒ Google::Apis::PolyV1::Quaternion 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A Quaternion. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PresentationParams 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PresentationParams. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PresentationParams
Returns a new instance of PresentationParams
| 474 475 476 | # File 'generated/google/apis/poly_v1/classes.rb', line 474 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#color_space ⇒ String
The materials' diffuse/albedo color. This does not apply to vertex colors
or texture maps.
Corresponds to the JSON property colorSpace
| 465 466 467 | # File 'generated/google/apis/poly_v1/classes.rb', line 465 def color_space @color_space end | 
#orienting_rotation ⇒ Google::Apis::PolyV1::Quaternion
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.
Corresponds to the JSON property orientingRotation
| 472 473 474 | # File 'generated/google/apis/poly_v1/classes.rb', line 472 def orienting_rotation @orienting_rotation end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 479 480 481 482 | # File 'generated/google/apis/poly_v1/classes.rb', line 479 def update!(**args) @color_space = args[:color_space] if args.key?(:color_space) @orienting_rotation = args[:orienting_rotation] if args.key?(:orienting_rotation) end |