Class: AssetDetailMapper
Constructors
new AssetDetailMapper()
new AssetDetailMapper(
config
):AssetDetailMapper
Parameters
Parameter | Type |
---|---|
config | ConfigInterface |
Returns
Defined in
api/mapper/AssetDetailMapper.ts:18 (opens in a new tab)
Methods
fromApi()
fromApi(
groupedAsset
,lifecycle
):RenderableAssetArtifacts
Parameters
Parameter | Type |
---|---|
groupedAsset | AssetFragment |
lifecycle | AssetProcessLifecycle |
Returns
Defined in
api/mapper/AssetDetailMapper.ts:20 (opens in a new tab)
getFirstRenderableAddressInArtifact()
getFirstRenderableAddressInArtifact(
artifact
):undefined
|RenderableAddress3DTiles
|RenderableAddress
For a given artifact, find the first containing a streamable address that we can use to render it.
Parameters
Parameter | Type |
---|---|
artifact | AssetArtifactFragment |
Returns
undefined
| RenderableAddress3DTiles
| RenderableAddress