editor › Globals › ModelProjectUtils
Class: ModelProjectUtils
Hierarchy
- ModelProjectUtils
Index
Methods
- getCurrentAssetId
- getCurrentModelId
- getModelCreator
- getModelInformation
- getModelName
- setCurrentAssetId
Methods
Static getCurrentAssetId
▸ getCurrentAssetId(): string
Defined in src/util/ModelProjectUtils.ts:15
Returns: string
the id of the current asset (also known as model), in contrast to "MakerAsset".
Static getCurrentModelId
▸ getCurrentModelId(): string
Defined in src/util/ModelProjectUtils.ts:8
Returns: string
the id of the current model project
Static getModelCreator
▸ getModelCreator(endpoint?: string): Promise‹string›
Defined in src/util/ModelProjectUtils.ts:36
Parameters:
| Name | Type |
|---|---|
endpoint? |
string |
Returns: Promise‹string›
Static getModelInformation
▸ getModelInformation(endpoint?: string): Promise‹object›
Defined in src/util/ModelProjectUtils.ts:23
Parameters:
| Name | Type |
|---|---|
endpoint? |
string |
Returns: Promise‹object›
Static getModelName
▸ getModelName(endpoint?: string): Promise‹string›
Defined in src/util/ModelProjectUtils.ts:32
Parameters:
| Name | Type |
|---|---|
endpoint? |
string |
Returns: Promise‹string›
Static setCurrentAssetId
▸ setCurrentAssetId(assetId: string): void
Defined in src/util/ModelProjectUtils.ts:19
Parameters:
| Name | Type |
|---|---|
assetId |
string |
Returns: void