Documentation
Preparing search index...
@sdk/asset-core
AssetCore
AssetCoreServiceInterface
Interface AssetCoreServiceInterface
interface
AssetCoreServiceInterface
{
copyAsset
(
id
:
AssetInstanceId
|
AssetInstanceId
[]
,
folderId
:
string
,
)
:
Promise
<
Result
<
any
,
any
>
>
;
createThumbnail
(
id
:
AssetInstanceId
)
:
Promise
<
Result
<
any
,
any
>
>
;
deleteAsset
(
id
:
AssetInstanceId
)
:
Promise
<
Result
<
any
,
any
>
>
;
deleteThumbnail
(
id
:
AssetInstanceId
)
:
Promise
<
Result
<
any
,
any
>
>
;
getAsset
(
id
:
AssetInstanceId
)
:
Promise
<
Result
<
any
,
any
>
>
;
moveAsset
(
id
:
AssetInstanceId
|
AssetInstanceId
[]
,
folderId
:
string
,
)
:
Promise
<
Result
<
any
,
any
>
>
;
refreshAsset
(
id
:
AssetInstanceId
)
:
Promise
<
Result
<
any
,
any
>
>
;
setDefaultCameraPosition
(
id
:
AssetInstanceId
,
variables
:
{
viewpoint
?:
DefaultCameraViewpoint
}
,
)
:
Promise
<
Result
<
any
,
any
>
>
;
updateAsset
(
id
:
AssetInstanceId
,
variables
:
{
description
:
string
;
name
:
string
}
,
)
:
Promise
<
Result
<
any
,
any
>
>
;
}
Implemented by
AssetCoreService
Index
Methods
copy
Asset
create
Thumbnail
delete
Asset
delete
Thumbnail
get
Asset
move
Asset
refresh
Asset
set
Default
Camera
Position
update
Asset
Methods
copy
Asset
copyAsset
(
id
:
AssetInstanceId
|
AssetInstanceId
[]
,
folderId
:
string
,
)
:
Promise
<
Result
<
any
,
any
>
>
Parameters
id
:
AssetInstanceId
|
AssetInstanceId
[]
folderId
:
string
Returns
Promise
<
Result
<
any
,
any
>
>
create
Thumbnail
createThumbnail
(
id
:
AssetInstanceId
)
:
Promise
<
Result
<
any
,
any
>
>
Parameters
id
:
AssetInstanceId
Returns
Promise
<
Result
<
any
,
any
>
>
delete
Asset
deleteAsset
(
id
:
AssetInstanceId
)
:
Promise
<
Result
<
any
,
any
>
>
Parameters
id
:
AssetInstanceId
Returns
Promise
<
Result
<
any
,
any
>
>
delete
Thumbnail
deleteThumbnail
(
id
:
AssetInstanceId
)
:
Promise
<
Result
<
any
,
any
>
>
Parameters
id
:
AssetInstanceId
Returns
Promise
<
Result
<
any
,
any
>
>
get
Asset
getAsset
(
id
:
AssetInstanceId
)
:
Promise
<
Result
<
any
,
any
>
>
Parameters
id
:
AssetInstanceId
Returns
Promise
<
Result
<
any
,
any
>
>
move
Asset
moveAsset
(
id
:
AssetInstanceId
|
AssetInstanceId
[]
,
folderId
:
string
,
)
:
Promise
<
Result
<
any
,
any
>
>
Parameters
id
:
AssetInstanceId
|
AssetInstanceId
[]
folderId
:
string
Returns
Promise
<
Result
<
any
,
any
>
>
refresh
Asset
refreshAsset
(
id
:
AssetInstanceId
)
:
Promise
<
Result
<
any
,
any
>
>
Parameters
id
:
AssetInstanceId
Returns
Promise
<
Result
<
any
,
any
>
>
set
Default
Camera
Position
setDefaultCameraPosition
(
id
:
AssetInstanceId
,
variables
:
{
viewpoint
?:
DefaultCameraViewpoint
}
,
)
:
Promise
<
Result
<
any
,
any
>
>
Parameters
id
:
AssetInstanceId
variables
:
{
viewpoint
?:
DefaultCameraViewpoint
}
Returns
Promise
<
Result
<
any
,
any
>
>
update
Asset
updateAsset
(
id
:
AssetInstanceId
,
variables
:
{
description
:
string
;
name
:
string
}
,
)
:
Promise
<
Result
<
any
,
any
>
>
Parameters
id
:
AssetInstanceId
variables
:
{
description
:
string
;
name
:
string
}
Returns
Promise
<
Result
<
any
,
any
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
copy
Asset
create
Thumbnail
delete
Asset
delete
Thumbnail
get
Asset
move
Asset
refresh
Asset
set
Default
Camera
Position
update
Asset
Documentation
Loading...