December 2, 2020 update:
  • The Poly website (poly.google.com) and Poly API will be shut down on June 30, 2021. Uploading of new assets will be disabled two months earlier, on April 30, 2021.
  • Previously uploaded assets will remain available and can be downloaded from poly.google.com until June 30, 2021.

PolyToolkit.PolyFormat

A specific representation of an asset, containing all the information needed to retrieve and describe this representation.

Summary

Each format is a "package" of files, with one root file and any number of resource files that accompany it. For example, for the OBJ format, the root file is the OBJ file that contains the asset's geometry and the corresponding MTL files are resource files.

Public attributes

formatComplexity
Complexity of this format.
formatType
Format type (OBJ, GLTF, etc).
resources = new List()
List< PolyFile >
The list of resource (auxiliary) files for this format.
root
The root (main) file for this format.

Public functions

ToString()
override string

Public attributes

formatComplexity

PolyFormatComplexity formatComplexity

Complexity of this format.

formatType

PolyFormatType formatType

Format type (OBJ, GLTF, etc).

resources

List< PolyFile > resources = new List()

The list of resource (auxiliary) files for this format.

root

PolyFile root

The root (main) file for this format.

Public functions

ToString

override string ToString()