class datagen.api.assets.Glasses(*, id: str, frame_color: FrameColor = FrameColor.BLACK, frame_metalness: ConstrainedFloatValue = 0.0, lens_color: LensColor = LensColor.BLACK, lens_reflectivity: ConstrainedFloatValue = 0.0, lens_transparency: ConstrainedFloatValue = 0.0, position: GlassesPosition = GlassesPosition.ON_NOSE)#

A 3D asset representing a pair of glasses.

Use datagen.api.catalog.glasses to get assets of this type from the asset catalog.

frame_color: FrameColor#

The base color of the glasses frames, which is further influenced by the frame_metalness property.

frame_metalness: float#

A measure of the reflectivity of the glasses frames. Higher values are appropriate for metallic frames; lower values are appropriate for plastic ones.

Min: 0

Max: 1

id: str#

A UUID that identifies a specific glasses asset.

lens_color: LensColor#

The base color of the lenses, which is further influenced by the lens_reflectivity and lens_transparency properties.

lens_reflectivity: float#

A measure of how much light is reflected off of the glasses lenses. Interacts closely with lens_transparency.

Min: 0

Max: 1

lens_transparency: float#

A measure of how much light passes through the lenses. Interacts closely with lens_reflectivity.

Min: 0

Max: 1

position: GlassesPosition#

The position of the glasses on the person wearing them.