class datagen.api.catalog.attributes.GlassesAttributes(supported_position: List[Enum], gender: List[Enum], style: Enum)#

Each glasses asset contains the following read-only attributes.

When you call the datagen.api.catalog.glasses.get() or datagen.api.catalog.glasses.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.

style: Enum#

The general shape and style of the pair of glasses. Uses the GlassesStyle enum.

supported_position: List[Enum]#

The list of positions on the body where this accessory can be worn. Uses the AccessoryPosition enum.