api.catalog.attributes.MaskAttributes#
- class datagen.api.catalog.attributes.MaskAttributes(supported_position: List[Enum], gender: List[Enum], style: Enum)#
Each mask asset contains the following read-only attributes.
When you call the
datagen.api.catalog.masks.get()
ordatagen.api.catalog.masks.count()
functions, you can use this attribute to filter the catalog.- gender: List[Enum]#
Matches the requested accessory(s) with a desired gender. Uses the
Gender
enum.An accessory may match with either or both genders.
NOTE: Gender matches are recommendations only and are not mandatory.
- supported_position: List[Enum]#
The list of positions on the body where this accessory can be worn. Uses the
AccessoryPosition
enum.