public final class PresentationParams
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Poly API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
PresentationParams() |
Modifier and Type | Method and Description |
---|---|
PresentationParams |
clone() |
java.lang.String |
getBackgroundColor()
A background color which could be used for displaying the 3D asset in a 'thumbnail' or
'palette' style view.
|
java.lang.String |
getColorSpace()
The materials' diffuse/albedo color.
|
Quaternion |
getOrientingRotation()
A rotation that should be applied to the object root to make it upright.
|
PresentationParams |
set(java.lang.String fieldName,
java.lang.Object value) |
PresentationParams |
setBackgroundColor(java.lang.String backgroundColor)
A background color which could be used for displaying the 3D asset in a 'thumbnail' or
'palette' style view.
|
PresentationParams |
setColorSpace(java.lang.String colorSpace)
The materials' diffuse/albedo color.
|
PresentationParams |
setOrientingRotation(Quaternion orientingRotation)
A rotation that should be applied to the object root to make it upright.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getBackgroundColor()
null
for nonepublic PresentationParams setBackgroundColor(java.lang.String backgroundColor)
backgroundColor
- backgroundColor or null
for nonepublic java.lang.String getColorSpace()
null
for nonepublic PresentationParams setColorSpace(java.lang.String colorSpace)
colorSpace
- colorSpace or null
for nonepublic Quaternion getOrientingRotation()
null
for nonepublic PresentationParams setOrientingRotation(Quaternion orientingRotation)
orientingRotation
- orientingRotation or null
for nonepublic PresentationParams set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PresentationParams clone()
clone
in class com.google.api.client.json.GenericJson