maxon.ColorCategoryAssetInterface¶
Description¶
Implementation of a color category asset.
Attributes¶
Methods Signature¶
|
Returns a new color category asset. |
|
Returns the color category of an asset. |
|
Stores a color category for an asset. |
Methods Definition¶
-
static
ColorCategoryAssetInterface.
Create
()¶ Returns a new color category asset.
- Returns
A new reference of
maxon.ColorCategoryAssetInterface
.- Return type
-
static
ColorCategoryAssetInterface.
GetColorCategory
(asset, lookupRepository)¶ Returns the color category of an asset.
- Parameters
asset (
maxon.AssetDescription
) – Asset to use.lookupRepository (
maxon.AssetRepositoryRef
) – Repository to look up for dependencies.
- Returns
Tuple<Id, Color>.
- Return type
-
static
ColorCategoryAssetInterface.
SetColorCategory
(*args)¶ Stores a color category for an asset.
- Parameters
asset (
maxon.AssetDescription
) – Asset to modifycategory (
maxon.Id
) – Category to use.