Skip to main content
Version: 4.x

Interface: ModelMetadataProvider

Provides metadata for 3D models.

Methods

getModelCamera()

getModelCamera(identifier): Promise<undefined | object>

Parameters

identifier: ModelIdentifier

Returns

Promise<undefined | object>

Defined in

packages/data-providers/src/ModelMetadataProvider.ts:14


getModelMatrix()

getModelMatrix(identifier, format): Promise<Matrix4>

Parameters

identifier: ModelIdentifier

format: string

Returns

Promise<Matrix4>

Defined in

packages/data-providers/src/ModelMetadataProvider.ts:15


getModelOutputs()

getModelOutputs(modelIdentifier): Promise <BlobOutputMetadata[]>

Parameters

modelIdentifier: ModelIdentifier

Returns

Promise <BlobOutputMetadata[]>

Defined in

packages/data-providers/src/ModelMetadataProvider.ts:12


getModelUri()

getModelUri(identifier, formatMetadata): Promise<string>

Parameters

identifier: ModelIdentifier

formatMetadata: BlobOutputMetadata

Returns

Promise<string>

Defined in

packages/data-providers/src/ModelMetadataProvider.ts:13