Show / Hide Table of Contents

Class PresentationParams

Hints for displaying the asset, based on information available when the asset was uploaded.

Inheritance
object
PresentationParams
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PolyService.v1.Data
Assembly: Google.Apis.PolyService.v1.dll
Syntax
public class PresentationParams : IDirectResponseSchema

Properties

BackgroundColor

A background color which could be used for displaying the 3D asset in a 'thumbnail' or 'palette' style view. Authors have the option to set this background color when publishing or editing their asset. This is represented as a six-digit hexademical triplet specifying the RGB components of the background color, e.g. #FF0000 for Red.

Declaration
[JsonProperty("backgroundColor")]
public virtual string BackgroundColor { get; set; }
Property Value
Type Description
string

ColorSpace

The materials' diffuse/albedo color. This does not apply to vertex colors or texture maps.

Declaration
[JsonProperty("colorSpace")]
public virtual string ColorSpace { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

OrientingRotation

A rotation that should be applied to the object root to make it upright. More precisely, this quaternion transforms from "object space" (the space in which the object is defined) to "presentation space", a coordinate system where +Y is up, +X is right, -Z is forward. For example, if the object is the Eiffel Tower, in its local coordinate system the object might be laid out such that the base of the tower is on the YZ plane and the tip of the tower is towards positive X. In this case this quaternion would specify a rotation (of 90 degrees about the Z axis) such that in the presentation space the base of the tower is aligned with the XZ plane, and the tip of the tower lies towards +Y. This rotation is unrelated to the object's pose in the web preview, which is just a camera position setting and is not reflected in this rotation. Please note: this is applicable only to the gLTF.

Declaration
[JsonProperty("orientingRotation")]
public virtual Quaternion OrientingRotation { get; set; }
Property Value
Type Description
Quaternion

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX