- 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.
datagen.api.catalog.glassesto 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: float#
A measure of the reflectivity of the glasses frames. Higher values are appropriate for metallic frames; lower values are appropriate for plastic ones.
- 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: float#
A measure of how much light is reflected off of the glasses lenses. Interacts closely with
- lens_transparency: float#
A measure of how much light passes through the lenses. Interacts closely with
- position: GlassesPosition#
The position of the glasses on the person wearing them.