Skip to main content
Version: Next

Interface: ModelMetadataProvider

Defined in: packages/data-providers/src/ModelMetadataProvider.ts:11

Provides metadata for 3D models.

Methods

getModelCamera()

getModelCamera(identifier): Promise<undefined | { position: Vector3; target: Vector3; }>

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

Parameters

identifier

ModelIdentifier

Returns

Promise<undefined | { position: Vector3; target: Vector3; }>


getModelMatrix()

getModelMatrix(identifier, format): Promise<Matrix4>

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

Parameters

identifier

ModelIdentifier

format

string

Returns

Promise<Matrix4>


getModelOutputs()

getModelOutputs(modelIdentifier): Promise<BlobOutputMetadata[]>

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

Parameters

modelIdentifier

ModelIdentifier

Returns

Promise<BlobOutputMetadata[]>


getModelUri()

getModelUri(identifier, formatMetadata): Promise<string>

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

Parameters

identifier

ModelIdentifier

formatMetadata

BlobOutputMetadata

Returns

Promise<string>