stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > Model3dSource

AdminTypes.Model3dSource interface

A source for a Shopify-hosted 3d model.

Types of sources include GLB and USDZ formatted 3d models, where the former is an original 3d model and the latter has been converted from the original.

If the original source is in GLB format and over 15 MBs in size, then both the original and the USDZ formatted source are optimized to reduce the file size.

Signature:

export interface Model3dSource 

Properties

Property Modifiers Type Description
filesize   Scalars[‘Int’][‘output’] The 3d model source’s filesize.
format   Scalars[‘String’][‘output’] The 3d model source’s format.
mimeType   Scalars[‘String’][‘output’] The 3d model source’s MIME type.
url   Scalars[‘String’][‘output’] The 3d model source’s URL.