Class Format
The same asset can be represented in different formats, for example, a WaveFront .obj file with its corresponding .mtl file or a Khronos glTF file with its corresponding .glb binary data. A format refers to a specific representation of an asset and contains all information needed to retrieve and describe this representation.
Implements
Inherited Members
Namespace: Google.Apis.PolyService.v1.Data
Assembly: Google.Apis.PolyService.v1.dll
Syntax
public class Format : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FormatComplexity
Complexity stats about this representation of the asset.
Declaration
[JsonProperty("formatComplexity")]
public virtual FormatComplexity FormatComplexity { get; set; }
Property Value
Type | Description |
---|---|
FormatComplexity |
FormatType
A short string that identifies the format type of this representation. Possible values are: FBX
, GLTF
,
GLTF2
, OBJ
, and TILT
.
Declaration
[JsonProperty("formatType")]
public virtual string FormatType { get; set; }
Property Value
Type | Description |
---|---|
string |
Resources
A list of dependencies of the root element. May include, but is not limited to, materials, textures, and shader programs.
Declaration
[JsonProperty("resources")]
public virtual IList<File> Resources { get; set; }
Property Value
Type | Description |
---|---|
IList<File> |
Root
The root of the file hierarchy. This will always be populated. For some format_types - such as TILT
, which
are self-contained - this is all of the data. Other types - such as OBJ
- often reference other data
elements. These are contained in the resources field.
Declaration
[JsonProperty("root")]
public virtual File Root { get; set; }
Property Value
Type | Description |
---|---|
File |