Skip to main content

LensStudio:AssetLibrary.Subcategory

Class

Tag or classification used to further categorize an asset within its primary asset type.

Index

Example

// AssetLibrary.Subcategory represents a subcategory within the Asset Library.
// Properties:
// description (string) — human-readable description of the subcategory
// iconUrl (string) — URL to the subcategory icon
// id (string) — unique identifier for the subcategory
// name (string) — display name of the subcategory

console.log('AssetLibrary.Subcategory properties:');
console.log(' description — human-readable description of this subcategory');
console.log(' iconUrl — URL pointing to the subcategory icon');
console.log(' id — unique identifier for this subcategory');
console.log(' name — display name shown in the Asset Library UI');

Properties

description

readonly description: string

Asset Library subcategory. Mostly used for Templates, and handling new/updaetd tags.


iconUrl

readonly iconUrl: string

URL of the icon image representing this subcategory.


id

readonly id: string

Unique identifier for this subcategory.


name

readonly name: string

Display name of this subcategory.