datagen.api.catalog.eyebrows#

class datagen.api.catalog.eyebrows#

This class gives you access to the catalog of eyebrow assets. When you get a 3D asset from this catalog, it comes in the form of a datagen.api.assets.Hair object.

You can query the eyebrows catalog using these functions:

get(self, id: str = None, limit: int = None, **attributes) Union[Hair, List[Hair]]:#

Gets eyebrows assets from the asset catalog.

Parameters:
Returns:

The eyebrows asset or assets that match your search query

Return type:

count(self, **attributes) int:#

Queries the catalog for the number of eyebrows assets matching a request

Parameters:

attributes (Any) – Optional. A dictionary of attributes matching one or more of the properties in datagen.api.catalog.attributes.EyebrowsAttributes.

Returns:

The number of eyebrows assets in the catalog matching your query.

Return type:

int