google_api_poly v0.4.0 GoogleApi.Poly.V1.Model.Format View Source
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.
Attributes
formatComplexity
(type:GoogleApi.Poly.V1.Model.FormatComplexity.t
, default:nil
) - Complexity stats about this representation of the asset.formatType
(type:String.t
, default:nil
) - A short string that identifies the format type of this representation. Possible values are:FBX
,GLTF
,GLTF2
,OBJ
, andTILT
.resources
(type:list(GoogleApi.Poly.V1.Model.File.t)
, default:nil
) - A list of dependencies of the root element. May include, but is not limited to, materials, textures, and shader programs.root
(type:GoogleApi.Poly.V1.Model.File.t
, default:nil
) - The root of the file hierarchy. This will always be populated. For some format_types - such asTILT
, 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() :: %GoogleApi.Poly.V1.Model.Format{ formatComplexity: GoogleApi.Poly.V1.Model.FormatComplexity.t(), formatType: String.t(), resources: [GoogleApi.Poly.V1.Model.File.t()], root: GoogleApi.Poly.V1.Model.File.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.