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()